# Agreement already cancelled (/api/rest/troubleshooting/rest_agreement_already_cancelled)



Returns from the Payments v1 API.

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

> **Info:** **Note:** If an issue persists or if you have further questions, you can reach out to
> [paypal-techsupport.com](https://www.paypal-techsupport.com).

| 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. |
