question

jorrh0 avatar image
0 Likes"
jorrh0 asked ·

IAF token supplied is invalid when using the API Explorer

I am trying to use the API explorer with the Trading API but I am constantly getting an error message that says "IAF token supplied is invalid" I am using the OAuth token generated by the explorer, so I can't figure out what is going wrong. Is this a problem with the explorer or am I not understanding some part of the authentication process?
sandboxtrading apigetordersauthentication failedapi exploreriaf token
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
sree_developersupport avatar image
0 Likes"
sree_developersupport answered ·
Hi @jorrh0, Thanks for your post. Can you please check if you are providing the OAuth user token or the application token?? Please use the user token and the header should have X-EBAY-API-IAF-TOKEN. Best Regards, eBay Developer Support
· 1 · Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi, I been having the same problem for days, can't seem to find a solution. Here is my header: X-EBAY-API-SITEID:0 X-EBAY-API-COMPATIBILITY-LEVEL:967 X-EBAY-API-CALL-NAME:AddItem X-EBAY-API-IAF-TOKEN: [user token from "HomeUser Tokens (eBay Sign-In)"] I used the harry potter book example in my API explorer to test a simple addItem command. The response was a "Invalid IAF Token" Help!!
0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.