Adaptive Payments Pay Request always return 520002
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
My application was working fine for almost 4 years using the AdaptivePayment API, now all transactions are always returning the Internal Error with code 520002. No keys, code or any configuration was changed on the code relative to those calls. Any hints?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, there could be few reasons for this error, for example I simulated a PAY with Adaptive Payments and I received an error 520002 when I didn't pass in the header request all the 3 or also 1 missing of the following variables (the values below are just examples):
[1] => X-PAYPAL-SECURITY-PASSWORD: AAAAAAAAA88AA88A is the api_password
[2] => X-PAYPAL-APPLICATION-ID: APP-80A0000000000 is the app_id
[3] => X-PAYPAL-SECURITY-SIGNATURE: AA88aA.nA88A888aa8AA888aaaaaaaAA is the api_signature
But, if you still receive this error in these days, would be helpful to see your full request and the "correlation ID" returned in the response to check into the logs.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- v2/payments/authorizations/{authorization_id} Request failed with status code 404 in REST APIs
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- please enable future transactions in my sandbox account in REST APIs
- Suddenly receiving "Authorization failed due to insufficient permissions" intermittently in REST APIs
- AUTH_FLOW_REQUIRED in SDKs