cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Access Token provided with invalid refresh token

I have a client that is having difficulty fetching inventory.  But only for one account, not for others.  I had the client generate a new refresh_token via the oauth process.

 

When creating the access token based on the refresh token, it doesn't seem to matter if I provide a valid refresh token or an invalid token.  I get an access token either way.

 

The access tokens that are generated (whether using a valid or invalid refresh token) will not error when requesting results from /sell/inventory/v1/inventory_item , instead they'll just return zero results.

 

Help!

Message 1 of 3
latest reply
2 REPLIES 2

Access Token provided with invalid refresh token

Hi @mberding8slc 

 

Please make sure to use the access token of the user account corresponding to which you want to retrieve results.

 

You can execute the getUser call to fetch the account profile information for an authenticated user, which requires a User access token

Best Regards,
eBay Developer Support
Message 2 of 3
latest reply

Access Token provided with invalid refresh token

I've performed the getUser request, and it's correctly returning information about the account I want to be able to use.

 

However, when I perform getInventoryItems, I get back zero results.  The client has items in inventory, and has a couple other accounts that are set up in the same way.  Why does this one account not report any inventory?

Message 3 of 3
latest reply