Why did I get API error code 10002?

If you get error code 10002 using PayPal’s APIs, it's usually because of incorrect API Credentials or API permissions for third-party calls.

Third-Party API Calls

To allow a third-party to make API calls on your behalf, you must grant them permission. If you've already done this but got error code 10002, your shopping cart configuration may be the cause. Your shopping cart provider needs to know the primary email address on the PayPal account for which they're making the third-party API call, and they must add this email address to the API script.

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

  • Incorrect API information - To retrieve the correct information, see Request API 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.

See the Developer Portal for a complete list of NVP/SOAP API error codes.

PayPal NVP and SOAP API Reference Guides.

更多我們可以提供協助的方式

若你繼續瀏覽,我們會使用 Cookie 來改善及打造個人化體驗。你是否同意我們也會使用 Cookie 進行個人化廣告投放?了解詳情及管理 Cookie