oauthtokenebay-api

eBay API: Expired IAF token


I'm trying to use the eBay Trading API. When I tested on sandbox, everything was working fine. But when I switched to Production, I'm getting an Expired IAF token error. I'm getting the token through eBay Sign-In. The response I'm getting from the Sign-In is

{ 
  "code": "v^1.1#i^1#p^3#f^0#r^1#I^3#t^U......EzMDU1REQ5QzQyRjZfMl8xI0VeMjYw",
  "expires_in": 299
}

I'm using OAuth2 and not Auth'n'Auth

I've tried connecting to the most basic Trading API endpoint through the eBay API explorer, but I'm still getting the Expired token error.


Solution

  • SOLVED

    Turns out that the token I was getting from eBay Sign-In had to be exchanged for an actual Access Token.