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_Jennifer
Failed to search transactions: {"name":"NOT_AUTHORIZED","debug_id":"77e73db820a94","message":"Authorization failed due to insufficient permissions.","details":[{"issue":"NOT_AUTHORIZED","description":"Authorization failed due to insufficient permissions."}]}
In SandBox mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @kainotomestech ,
Thank you for contributing to this post. I have enabled future payments scopes to your sandbox rest api application.
Thank you,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MTS_Jennifer ,
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 @WWalder
Thank you for contributing to this post. I am not able to locate your Sandbox Rest API app associated with this debug id.
Can you please provide me with the sandbox merchant id associated with your Sandbox Rest API app.
Here is how to find it:
- Log into the developer dashboard at https://developer.paypal.com
- Click on Testing Tools
- Click on Sandbox Accounts
- Click on the email associated with your Sandbox Rest API app
- Scroll down to Sandbox account info
- The Account ID is the sandbox merchant id
Thank you,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @MTS_Jennifer , I am getting the same error message. Could you please enable sandbox accounts (W7A9727QSRJZC and DSEL3GFZ3JCZJ) to do reference transactions and merchant initiated billing? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We were able to have our sandbox accounts enabled for Reference Transactions? But how does PayPal suggest that we make this request in the future?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MTS_Jennifer
I am experiencing this same issue, debugId: "f7171684492e1", can you please add future payments scope to my sanbox as well. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @eckosneekz
Thank you for contributing to this post. I have ensured that Future Payments has been enabled on your Sandbox Rest API Application.
Thank you,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @MTS_Jennifer ,
my sandbox merchant id is 76hbs7sbb6ptbdqd. And i habe a new debug id: a4c46aec32294
I hope this informations will help to activate future payments.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @WWalder
Thank you for contributing to this post. I have enabled Future Payments on your Sandbox PayPal Rest API app.
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.
- PayPal Complete Payments Error Notification in PayPal Reporting
- please enable future transactions in my sandbox account in REST APIs
- Suddenly receiving "Authorization failed due to insufficient permissions" intermittently in REST APIs
- Authorization failed due to insufficient permissions. in Sandbox Environment
- Getting an error when calling API endpoint for Create Billing Agreement Token V1 in Sandbox Environment