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

tolowoye
Contributor
Contributor

@MTS_Jennifer 

Thanks for the help. The issue with the Authorization failed due to insufficient permissions. Invalid Scopes has been resolved and the transaction history checkbox ticked.

The issue which is still unresolved is I cannot see any of the transactions successful or failed displayed on the PayPal dashboard. 

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hi @tolowoye 

Thank you for contributing to this post. Can you please open a ticket with Technical Support for the issue with the PayPal dashboard not displaying.

Here's how:

  • Go to https://paypal.com/mts
  • Scroll down and click Contact us
  • Click Login with PayPal
  • Log into your PayPal Account
  • Scroll down and click Contact us
  • Fill in the details
  • Click Submit

This will allow us to collect account specific information and assist you better.

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

asurifikf
Contributor
Contributor

Hello @MTS_Jennifer I'm experiencing this same issue, debugId: "bdc57c6a427e4", can you please add future payments scope to our sanbox as well!

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello @asurifikf ,

Thank you for contributing to this post. I have added future payments scopes to your sandbox app.

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

lapostdev
Contributor
Contributor

Hello @MTS_Jennifer . We are also facing the same issue and the debug id is "ef36081958194". Can you please add the future payments scope to our sandbox account as well!. Thank you.

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello @lapostdev ,

Thank you for posting to the PayPal Merchant Community. I have added the Reference Transactions/ Future Payments scopes to your Sandbox Rest API app.

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

developer-gurad
Contributor
Contributor
stdClass Object
(
    [name] => NOT_AUTHORIZED
    [message] => Authorization failed due to insufficient permissions.
    [debug_id] => f759199f06fe0
    [details] => Array
        (
            [0] => stdClass Object
                (
                    [issue] => PERMISSION_DENIED
                    [field] => capture_id
                    [value] => 0DR839916T737873A
                    [description] => You do not have permission to access or perform operations on this resource.
                    [location] => path
                )

        )

    [links] => Array
        (
            [0] => stdClass Object
                (
                    [href] => https://developer.paypal.com/docs/api/payments/v2/#error-PERMISSION_DENIED
                    [rel] => information_link
                )

        )

)
Login to Me Too

lapostdev
Contributor
Contributor

Hello @MTS_Jennifer I'm experiencing this same issue, debugId: "aae53a5cbd534", can you please add future payments scope to our sanbox as well!

Login to Me Too

MTS_Jennifer
Moderator
Moderator

Hello @lapostdev ,

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

 

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

Advertise
Contributor
Contributor

Hello @MTS_Jennifer . We are facing the same issue with our sandbox account and the debug id is "05dd0da122e24". Can you please add the future payments scope to our sandbox account as well!. Appreciate your help.

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.