"Authorization failed due to insufficient permissions" while voiding an authorization request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am getting authentication error when trying to void an authorization request on Paypal sandbox environment.
Error message: "Authorization failed due to insufficient permissions"
I am getting successful response for token generation, creating an order and authorize payment requests. I got below response for void authorization:
{
"name": "NOT_AUTHORIZED",
"message": "Authorization failed due to insufficient permissions.",
"debug_id": "deae21d91f498",
"details": [
{
"issue": "PERMISSION_DENIED",
"field": "authorization_id",
"value": "2BF82690Y79974343",
"description": "You do not have permission to access or perform operations on this resource.",
"location": "path"
}
],
"links": [
{
"href": "https://developer.paypal.com/docs/api/v2/payments/#NOT_AUTHORIZED",
"rel": "information_link"
}
]
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After a lot of testing on my end (Support only ever told me "your access_code is old" - even though SOME calls work, some don't when using the SAME code.......) I
The 'fix' was to make a new App - then the new ID and Secret worked on all calls......
I don't have any info on why it wasn't working, but I'm in a "going with what does work" mode right now!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MTS_Justin
we also have the same error , we re create application but show the same error, Could you please help us?
{
"name": "NOT_AUTHORIZED",
"message": "Authorization failed due to insufficient permissions.",
"debug_id": "b1e21947ade6",
"details": [
{
"issue": "Invalid Access Control"
}
],
"links": []
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You're receiving the error due to a different reason.
You're attempting a partner referral request, but your REST application / sandbox account have not been on-boarded to allow partner referral requests.
Submit a technical ticket via our support portal, mention that you're trying to conduct partner referral requests and you don't appear to have access.
A member of the team will help you solve.
** NOTE **
Although we can enable your sandbox REST application to make partner referral calls in our sandbox environment, we cannot do this for our production environment as the product suite requires vetting to be conducted first. Depending on the outcome of this vetting process, you will either be accepted or declined. I recommend applying for the product in our production environment before starting any development work, as the product may not be available to you.
** NOTE **
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same kind of error, this happends while trying to use

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some simple troubleshooting :
Did you request an access token before submitting this request ?
Does the API caller have permission to capture the transaction in question ? ie. did the same REST application create the order ?
Thanks !
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For sandbox it is:
public $scope =>
string(884) "https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/paypalhere https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://uri.paypal.com/services/identity/activities https://api.paypal.com/v1/vault/credit-car".. etc.
But for live it is:
public $scope =>
string(260) "https://api.paypal.com/v1/payments/.* https://uri.paypal.com/services/reporting/search/read https://uri.paypal.com/services/disputes/update-seller openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/applications/webhooks"
and that's it.
Is there any way to expand a list of scopes/permissions by ourselves? Without paypal support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello...
Still facing similar issue here when accessing paypal api...
I have added the subscription scope on my Paypal account and still I get this error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you're still experiencing this issue, can you open a support ticket so we can assist you directly ?
https://www.paypal.com/mts
Thanks !
Was my post helpful? If so, please give me a kudos!

- « Previous page
-
- 1
- 2
- Next page »
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Which api can get oauth2.0 authorization_code? in REST APIs
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- v2/payments/authorizations/{authorization_id} Request failed with status code 404 in REST APIs
- Shopify PayPal integration, customer authorized multiple times in PayPal Payments Standard
- Inquiry About Documentation and Support for Tokenization and Future Payment in Payflow