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.
- Refunding an order via HATEOAS URL failing with NOT_AUTHORIZED error in Sandbox Environment
- PAYMENT.SALE.COMPLETED signature verification failed in sandbox mode in REST APIs
- Sandbox works but live => INVALID_RESOURCE_ID in Sandbox Environment
- INTERNAL_SERVICE_ERROR when calling PATCH /v2/checkout/orders/ on Sandbox in Sandbox Environment
- Url () is not a fully qualified URL in REST APIs