eBay API returns 'IAF Token supplied is invalid' error
Asked Answered
F

1

6

I want to use eBay API for retrieving all feedback of seller. I already have prepared the APPID, CERTID, DEVID, in both environments (sandbox, production). I use API EXplorer for test.

I already encoded to base 64 appid:certid and got oauth application token by this tutorial https://developer.ebay.com/api-docs/static/oauth-client-credentials-grant.html#The . So when I want to get feedback I specify only token, Trading API, GetFeedback API call, leaving USERID field empty to receive only feedback to my sells and now this strange error:

Invalid IAF token.
Fabrice answered 26/5, 2018 at 7:42 Comment(0)
M
1

Instead of sending it via headers, I used

  <RequesterCredentials>
    <eBayAuthToken>TOKEN HERE</eBayAuthToken>
  </RequesterCredentials>

In your respective XML call and it worked!

Monody answered 7/1, 2021 at 10:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.