Authorization failed due to insufficient permissions. Invalid Scopes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am getting authentication error when trying to an authorization request on Paypal sandbox environment.
Error message: "Authorization failed due to insufficient permissions"
Sandbox ID - gmk5dfkmv4hfvtfx
{
"name": "BUSINESS_ERROR",
"debug_id": "475026eb1dc84",
"message": "Business error",
"information_link": "https://developer.paypal.com/webapps/developer/docs/api/#BUSINESS_ERROR",
"details": [
{
"name": "UNAUTHORISED ACCESS",
"message": "Authorization failed due to insufficient permissions. Invalid Scopes"
}
]
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MTS_Chiranjeevi ,
we have the same problem at the sandbox business account.
Debug ID: 837bf856b87e4
Could you please add all future payment scopes?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MTS_Jennifer . We are also facing the same issue with our sandbox account and the debug id is "17159b35a18fc". Can you please add the future payments scope to our sandbox account as well!. Appreciate your help. Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @faisalansari
Thank you for contributing to this post. I have enabled the Future Payments Scope to your Sandbox App.
Thank you,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
we have the same problems since a while.
Debug ID: f325b39e8c4e4
Could you please add all future payment scopes?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In our case (iOS), we log the error thrown by the Braintree SDK and it contains this ID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Blackjacx ,
Thank you for contributing to this Post. I tried to find your PayPal rest api sandbox app and sandbox account associated with this debug id, and I am not able to find it. Can you please provide your Sandbox Merchant ID, so I can add the future payment scopes to your Rest API application.
Thank you,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Blackjacx ,
Here is how to locate the merchant id for sandbox.
- Log into the developer dashboard at https://developer.paypal.com
- Click on Testing Tools
- Click on Sandbox Accounts
- Click on the Sandbox Account associated with your Rest API App
- Scroll down to Sandbox account info
- You will see Account ID and that is your Merchant ID
Thank you,
Jennifer
MTS
PayPal

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.