Paypal REST Api failing to execute patch (sandbox)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When attempting to execute the patch call I get the following returned:
{"ack":"permission_denied","message":"Insufficient privileges"}
The returned error in the inspector console is:
Error: Order could not be patched
at Er.<computed> (https://www.paypal.com/sdk/js?client-id=AUeZfILg1m-w-HQo09hJq2elSC1z52LPcd5KTMurGTs9cuQ8uKUTwBof1odF...)
at Object.<anonymous> (https://www.paypal.com/sdk/js?client-id=AUeZfILg1m-w-HQo09hJq2elSC1z52LPcd5KTMurGTs9cuQ8uKUTwBof1odF...)
at JSON.parse (<anonymous>)
at Rr.o (https://www.paypal.com/sdk/js?client-id=AUeZfILg1m-w-HQo09hJq2elSC1z52LPcd5KTMurGTs9cuQ8uKUTwBof1odF...)
at Rr (https://www.paypal.com/sdk/js?client-id=AUeZfILg1m-w-HQo09hJq2elSC1z52LPcd5KTMurGTs9cuQ8uKUTwBof1odF...)
at u.on (https://www.paypal.com/sdk/js?client-id=AUeZfILg1m-w-HQo09hJq2elSC1z52LPcd5KTMurGTs9cuQ8uKUTwBof1odF...)
at kr (https://www.paypal.com/sdk/js?client-id=AUeZfILg1m-w-HQo09hJq2elSC1z52LPcd5KTMurGTs9cuQ8uKUTwBof1odF...)
at https://www.paypal.com/sdk/js?client-id=AUeZfILg1m-w-HQo09hJq2elSC1z52LPcd5KTMurGTs9cuQ8uKUTwBof1odF...
at https://www.paypal.com/sdk/js?client-id=AUeZfILg1m-w-HQo09hJq2elSC1z52LPcd5KTMurGTs9cuQ8uKUTwBof1odF...
Any help would be greatly appreciated

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for posting to the PayPal Sandbox Community:
Here are some reasons why you may have received this error:
- Transaction was processed in sandbox and the patch was performed pointed to live endpoints
- Your Client id did not process the order and does not have 3rd party permissions to perform this action
- You did not update your Access token and it expired
- Your order expired (expires after 3 hours)
- You are sending an invalid parameter
Thank you,
Jennifer
PayPal

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- failed to pay with sandbox account in Sandbox Environment
- Cannot delete this Sandbox account. Failed to close account. Debug ID: 14e9be05fe202. in Sandbox Environment
- Compliance violation. flag based on the account origin ? in Sandbox Environment
- PayPal Redirection Issue After Successful Payment in Photobooth Integration in Sandbox Environment
- PayPal integration with Next, Lambda and API Gateway - 400 Invalid Request in Sandbox Environment