"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
It appears your REST application was missing some required permissions. I've added them now, so please conduct another test and if the issue persists, share a new debug id which I can review.
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
Hi there,
I have similar problem when doing:
curl -v -X GET "https://api.sandbox.paypal.com/v1/billing/plans?page_size=2&page=1&total_required=true" -H "Content-Type: application/json" -H 'Authorization: Bearer <my sandbox testing business account access token>'
{"name":"NOT_AUTHORIZED","message":"Authorization failed due to insufficient permissions.","debug_id":"b0786341efcff","details":[{"issue":"PERMISSION_DENIED","description":"You do not have permission to access or perform operations on this resource"}],"links":[{"href":"https://developer.paypal.com/docs/api/v1/billing/subscriptions#NOT_AUTHORIZED","rel":"information_li...
Everything seems fine with the `Feroko` application settings. Any help appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What was changed here? I have the same issue:
Message: {"name":"NOT_AUTHORIZED","message":"Authorization failed due to insufficient permissions.","debug_id":"eb704ed1c9eae","details":[{"issue":"PERMISSION_DENIED","field":"authorization_id","value":"7N115928NV936711X","description":"You do not have permission to access or perform operations on this resource.","location":"path"}],"links":[{"href":"https://developer.paypal.com/docs/api/payments/v2/#error-PERMISSION_DENIED","rel":"information_link"}]}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@MTS_Justin
Hi, I am getting the same issues with my account. I tested an I am able to capture the payments but not able to void them. I need both in order for my application to work.
This is happening on both sandbox and live.
Could you please advise.
{"name":"NOT_AUTHORIZED","message":"Authorization failed due to insufficient permissions.","debug_id":"6df7f6368a399","details":[{"issue":"PERMISSION_DENIED","field":"authorization_id","value":"4C678288GM126181D","description":"You do not have permission to access or perform operations on this resource.","location":"path"}],"links":[{"href":"https://developer.paypal.com/docs/api/payments/v2/#error-PERMISSION_DENIED","rel":"information_link"}]}
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. Faced the same issue. It would be very helpful if you could write what exactly should be changed in settings to make this work. I haven't find anything in app settings.
{
"name": "NOT_AUTHORIZED",
"message": "Authorization failed due to insufficient permissions.",
"debug_id": "6979c46258a3e",
"details": [{
"issue": "PERMISSION_DENIED",
"field": "authorization_id",
"value": "0L082592GT149994U",
"description": "You do not have permission to access or perform operations on this resource.",
"location": "path"
}
],
"links": [{
"href": "<a href="https://developer.paypal.com/docs/api/payments/v2/#error-PERMISSION_DENIED" target="_blank">https://developer.paypal.com/docs/api/payments/v2/#error-PERMISSION_DENIED</a>",
"rel": "information_link"
}
]
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@MTS_Justin, could you please take look at my case? And may be some tips on how to avoid this in future. Two unanswered replies above doesn't look very promising, but I still hope to get some help here, since right now this issue is blocking us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apparently you have to create a case to gain access.
https://www.paypal-support.com/s/account-overview
Find the 'Contact Us' button at the bottom, and fill out the case form.
Provide them with:
Sandbox client ID
Live client ID
debug ID for error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies for not responding sooner, I was out of office for most of December and only back today.
Please follow the solution provided above by TechCoder and create a new REST application and conduct some test transactions using the new application and see if it resolves the issue for you
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 issue here - works fine in production, but not in sandbox (where I really need to test things!)
I've sent a request to Tech Support - about 1/2 hour ago now..... - we'll see how much of the day gets wasted on non-production...
As a side note, we've been using PayPal for around 15 years (one of the first million to sign up... 🙂 - and have never used sandbox due to all the issues.... - though recently PayPal started not refunding the fees on production accounts (maybe because we always used them because sandbox doesn't work!!!!), so now we are forced to use the NON-WORKING sandbox.......

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