Authorization failed due to insufficient permissions. Invalid Scopes

SandepSoni
Contributor
Contributor

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"
}
]
}

Login to Me Too
76 REPLIES 76

WWalder
Contributor
Contributor

Hello @MTS_Jennifer ,

we have another sandbox business account with the same problem.

MerchantId: pp5g2qnyzgx3d6d2
DebugId: a6361fdbcfba4

 

Could you please add all future payment scopes?

 

Thank you.

Login to Me Too

WWalder
Contributor
Contributor

Hello @MTS_Jennifer ,

we have another sandbox business account with the same problem.

MerchantId: pp5g2qnyzgx3d6d2
DebugId: a6361fdbcfba4

 

Could you please add all future payment scopes?

 

Thank you.

Login to Me Too

florinsx
Contributor
Contributor

Hello @MTS_Jennifer I would also like this enabled for LX5J98QEFP366 and UPGYQ7A94TK42

Thanks!

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello @florinsx ,

Thank you for contributing to this post. I have enabled Future Payments to the Rest API apps associated with these Sandbox accounts:

LX5J98QEFP366 and UPGYQ7A94TK42

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

OW_Chris
Member
Member

Hello @MTS_Jennifer ,

Please enable all future payment scopes for sandbox and live...

SU4U58R859J5A

 

Thankyou

 

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello @OW_Chris ,

Thank you for contributing to this post. I have enabled Reference Transactions and Future Payments on your Sandbox Account and Sandbox Rest API App.

If you need Reference Transactions added to your live PayPal Account, go this this link: https://www.paypal.com/smarthelp/contact-us scroll down to the bottom, and click on Call Us, call us as a guest, and call the phone number listed.

Once you have Reference Transactions enabled on your live account, you can have Merchant Technical Support add the scope to your Rest API App.

  • Go to this link: https://www.paypal-techsupport.com/s/?language=en_US
  • Click on Contact Us
  • Click on Log in with PayPal
  • Log into your live PayPal Account
  • Click Contact us
  • Choose PayPal in the first question
  • Add the Subject of "Please add Future Payments Scopes to my Live Rest API App"
  • Add a Description that you need Future Payments Scopes added to our live Rest API app. Make certain in the description that you include your live Rest API client id.
  • After you fill everything in
  • Click Submit

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

Bennybee29
Contributor
Contributor
Can someone reply to me please I’ve asked nicely 3/4 times now thanks
Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello @Bennybee29 

Thank you for contributing to this post. Can you please provide the Sandbox Merchant ID? We will then add the future payments scopes to your rest api app. 

 

Thanks,

Jennifer

MTS

PayPal

Login to Me Too

Bennybee29
Contributor
Contributor
Hello, Please see attached and thanks AU_ku0YTTAxKAHVT2Hj5YJgOx6TyH3jgzzP9hYr89VZyt4wRmQgmFLoKtp7V8wkirgQ3DEKTEg_5igVG
Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello @Bennybee29 

Thank you for contributing to this post. I have enabled future payments scopes for your sandbox rest api apps.

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.