PayPal API credentials no permission error code 10002

New Community Member

PayPal api sandbox test credentials are working fine, but having issue with live  api_username, api_password, signature. When calling  getting  response like below : 

L_SHORTMESSAGE0=Authentication Authorization Failed
L_LONGMESSAGE0=You do not have permissions to make this API call

Login to Me Too

PayPal Employee
PayPal Employee

Good day @imanas,


Thank you for posting to the PayPal community.


Causes and Solutions : 

This error usually happens when permissions are set incorrectly in your PayPal account. To allow a third party to make API calls on your behalf, you must explicitly grant them permission to do so. If you've already done this but you got error code 10002, your shopping cart configuration may be the cause. Your vendor needs to know the primary email address on the PayPal account for which they're making the third-party API call. They must add this email address to the API script making the API call on your behalf.

If you're making third-party API calls but not using a vendor and you still get this error, it can be because of the following reasons:

  • Incorrect API information - Follow this procedure to request API Signature or API Certificate credentials.
  • Passing a value in the Subject field - This field should be blank if you're not making an API call on behalf of another person.

One of several different error messages accompanies error code 10002. You're most likely to see this message:

  • 10002: Authentication/Authorization - Username/Password incorrect

This error occurs when you provide an incorrect API username and API password to the PayPal server, for example, if you:

  • Provide the username and password for your actual PayPal account, instead of your API username and API password. PayPal generates your API username and API password when you generate your API Certificate and Signature.
  • Use the same API information for the Sandbox and Live environments. You need to generate separate API information for your Sandbox and Live accounts.
  • Don't update the endpoint to point to PayPal's Live API servers.
  • Format your API Certificate as .txt instead of .pem.
  • Add trailing or leading whitespace on any of the characters. 


If your still facing any issues, please create a MTS ticket via - with the detail information and error details.




PayPal/Braintree MTS


If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

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.