> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paypal.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Agreement already canceled

Returns from the Orders V2 API.

`AGREEMENT_ALREADY_CANCELLED` indicates that an operation is trying to execute on an already-canceled billing agreement.

| Cause                                                                                                                                                                                                                                                                                                                                           | Impact                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | Resolution                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| - Manually canceled: The merchant or payer manually canceled the agreement. <br /> - Automatically canceled: Certain conditions automatically canceled the agreement, such as payment failures or account issues. <br /> - Logic error: The application implemented faulty logic that tried to modify an agreement without checking its status. | - Transaction failure: Transactions for the canceled agreement cannot proceed, potentially leading to failed payments and disrupted user subscriptions or services. <br /> - Integration failures: Recurring logic based on this agreement might break, causing administrators or payers to make multiple calls attempting to resolve actions on a non-existent agreement. <br /> - Customer dissatisfaction: Users affected by the cancellation might experience service interruption, thereby reducing trust and satisfaction. | - Check the agreement status: Ensure that you check the status of a billing agreement before beginning operations, such as by retrieving agreement details and verifying the cancellation status. <br /> - Implement error handling: Manage errors by informing the payer or system about the current status of the billing agreement and providing appropriate options or messages. <br /> - Update business logic: Ensure that your application logic correctly tracks the status of an agreement and attempts only valid operations. |
