PayPal API credentials no permission error code 10002

imanas
New Community Member

PayPal api sandbox test credentials are working fine, but having issue with live  api_username, api_password, signature. When calling 
https://api-3t.paypal.com/nvp  getting  response like below : 

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

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

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.

 

https://www.paypal.com/us/cshelp/article/why-did-i-get-api-error-code-10002-ts1030 

 

If your still facing any issues, please create a MTS ticket via -  https://www.paypal-support.com/s/?language=en_US with the detail information and error details.

 

Sincerely,

Chiranjeevi

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.