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.

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

開發人員資源

存取文件和 API 等內容

Braintree 支援

尋找透過 Braintree 處理的相關技術資料

網站狀態

查看定期維護及其他事件的狀態

個人協助

尋求關於 PayPal 產品使用的協助

商業協助

尋求關於 PayPal 產品使用的協助

聯絡我們

聯絡客戶服務團隊

訊息中心

傳送、接收和查看你的 PayPal 訊息