Paypal API – Security header is not valid (10002)

05Apr10

When integrating the PayPal API you might get the following error returned:

array(9) {
  ["TIMESTAMP"] => string(20) "2010-04-05T09:10:07Z"
  ["CORRELATIONID"] => string(12) "928a82db523e"
  ["ACK"] => string(7) "Failure"
  ["VERSION"] => string(2) "56"
  ["BUILD"] => string(7) "1236498"
  ["L_ERRORCODE0"] => string(5) "10002"
  ["L_SHORTMESSAGE0"] => string(14) "Security error"
  ["L_LONGMESSAGE0"] => string(28) "Security header is not valid"
  ["L_SEVERITYCODE0"] => string(5) "Error"
}

This might have two possible causes:

  1. you are using the wrong credentials (trying to connect to the Sandbox API URL using the Live credentials or vice versa)
  2. you are missing a & character in the NVP string, after the SIGNATURE, PWD or USER keys.
Advertisements


45 Responses to “Paypal API – Security header is not valid (10002)”

  1. 1 jay

    in my case, it’s because i called test mode link instead of live link.

    • Very helpful information. Thanks Jay

    • 3 sgr

      @jay: which one is the live link..?

      • 4 Dany

        Have just discovered your blog and the beautiful content. Isn't Grace Coddington brilliant! Such imanigation, creativity, style and love of colour! And such a wonderful quirky sense of humour lurking beneath. She is an absolute genius.

    • 5 lojiSmith

      c n you please help me on sandbox user? i mean i am confused by different users, i thought the user remains the same but if we call on sandbox url this call is considered as test call otherwise its considered live call. you were correct, i used the live credentials on sandbox api
      please help me creating sandbox user, tx

      • 6 kamlesh

        have you got any solution?

      • 7 Gabby

        It's a sad day for typo fans. I've just been sent the real proper version of the book, as opposed to the &#3s9galley;' which the above image is taken from, and the typo on the cover has been corrected.

    • 8 Kaiden

      dear guyshave you ever have the problem below.Cause the bacth character lobm_rlz is required,and this character value is not assigned .so the status of batch classification is inolcpmete.then when batch dertemination , this batch can’t be choossed.

  2. 9 keha76

    Had the same problem, in my case i just misspelled the the sandbox variable though.

    • 10 lojiSmith

      try copy/paste specially in case of API calls

    • 11 Char

      We need a lot more ingshits like this!

    • ,Even last month, there seems to be a little anticipation using a sillier storyline: Supposedly, any “futuristic sports entertainment bra” might locate quick symptoms of cancer of the breast. Typically the breast support, who has not revealed and is not close to standing on the market industry, offers microwave antenna made inside the garment. Based on the reasoning behind “thermography,” those alarms expected might locate minimal temps improvements that might demonstrate raised blood circulation in the roots connected with a cancerous growth.

  3. Thanks a lot!!! 😀 😀 😀

  4. 14 ravik

    i am not getting! same error

  5. 15 ravik

    any one plz help me

  6. 16 Admin Adm

    @ravik, no one on the internet has the time and patience to help you. that’s not how you succeed as a developer. Read the info, comprehend it and move along. If you can’t figure out, maybe you should try a different job

  7. Outstanding submit. I used to be checking consistently that web site using this program . empowered! Very useful information and facts especially the very last element 🙂 We maintain this kind of data lots. I’d been interested in this unique details for a while. Cheers and also involving good fortune.

  8. In my case i was getting an error because of api signature . When i copied and pasted from paypal i was having a trailing space also but i removed it . That caused my error .

  9. missing ‘&’. I love you mate

  10. Hi, I do thinmk this is an excellent website.
    I stumbledupon it 😉 I aam goinbg to revisit yet
    again since I saved as a favorite it. Money and freedom is thhe best way
    to change, may you be rich and continue to guide other people.

  11. This paragraph will help the internet users for creating
    new web site or even a weblog from start to end.

  12. What i do not understood is actually how you are not really a lot more smartly-favored than you may be now.
    You are very intelligent. You know therefore significantly
    with regards to this topic, made me individually imagine it from numerous numerous angles.
    Its like women and men aren’t fascinated until it’s something
    to accomplish with Girl gaga! Your own stuffs nice. At all times take care of it up!


  1. 1 www.promotionvoucher.co.uk
  2. 2 http://www.voucherbadger.codes
  3. 3 Matalan discount code
  4. 4 cheap hotels new york times square
  5. 5 expedia.co.uk discount codes 2015
  6. 6 congressman john lewis new book
  7. 7 www.voucherslug.co.uk
  8. 8 http://www.mancunianmatters.co.uk/content/061265936-battle-manchester-fight-glory-between-city-and-united-explored-book-derby-looms
  9. 9 www.mag.sofiagymnastics2014.com
  10. 10 moban1.sk4.yithin.com
  11. 11 promo codes for howrse Passes
  12. 12 discount vouchers for restaurants in york
  13. 13 ninjavouchers.Co.Uk
  14. 14 saltcafe.org
  15. 15 wickes voucher 2014
  16. 16 homepage
  17. 17 go!!
  18. 18 cheap table hire auckland
  19. 19 http://astreya2-board.org
  20. 20 john lewis tv installation
  21. 21 my explanation
  22. 22 john lewis sale 2012
  23. 23 http://www.evaalve.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: