ErrorCode 10002, Security Header is not valid.
Vitthal
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jan-30-2018
11:37 PM
Hi,
I am trying to integrate PayPal with IBM WCS9 using a Sandbox account. I am trying to retrieve token using SetExpressCheckout API, but getting 10002 error. Below are the details. Kindly help.
Response:
TIMESTAMP=2018%2d01%2d31T07%3a07%3a50Z&CORRELATIONID=528451eabf4c0&ACK=Failure&VERSION=0%2e000000&BUILD=43109726&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error
3 REPLIES 3
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan-31-2018
07:08 AM
Hello,
The "10002" API response means that there is an issue with the API credentials you have provided. Check the credentials that you've entered, ensure that there are no "white spaces" at the start or the end of the credentials.
All our API error codes are available to view here : https://developer.paypal.com/docs/classic/api/errors/
If you copied and pasted the credentials from your PayPal account, ensure that if your pasting them into a program, that the program isn't modifying the credentials as some programs do to accomplish formatting.
Was my post helpful? If so, please give me a kudos!
The "10002" API response means that there is an issue with the API credentials you have provided. Check the credentials that you've entered, ensure that there are no "white spaces" at the start or the end of the credentials.
All our API error codes are available to view here : https://developer.paypal.com/docs/classic/api/errors/
If you copied and pasted the credentials from your PayPal account, ensure that if your pasting them into a program, that the program isn't modifying the credentials as some programs do to accomplish formatting.
Was my post helpful? If so, please give me a kudos!
Vitthal
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan-31-2018
08:24 AM
Hi Justin, The API credentials work fine when I use it in a SOAP request. But in NVP, I tried different ways to use these credentials, through Postman client and browser too, but no luck. Can you pls confirm whether I need to pass these credentials as parameters in the url along with other parameters, as mentioned above, or do I need to pass them in request headers? Also the PayPal documentation doesn’t have any details about how to use API credentials for NVP format. Thanks, Vitthal
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb-01-2018
03:39 AM
Hello,
The following PayPal documentation covers this topic - https://developer.paypal.com/docs/classic/api/gs_PayPalAPIs/#payload
Was my post helpful? If so, please give me a kudos!
The following PayPal documentation covers this topic - https://developer.paypal.com/docs/classic/api/gs_PayPalAPIs/#payload
Was my post helpful? If so, please give me a kudos!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Security header is not valid error message in woo commerce in PayPal Payments Standard
- Drupal 7, Ubercart, credit card payment Issue: 10002: Security header is not valid in NVP/SOAP APIs
- Content Security Policy - Directives to enable PayPal checkout in PayPal Payments Standard
- PayPalClassic no longer responds in Shopware5 frontend, error message: Webhook URL in PayPal Payments Standard
- Angular 14 app and my "Request is not well-formed, syntactically incorrect, or violates schema." in Sandbox Environment