question

provalueparts avatar image
0 Likes"
provalueparts asked

AuthToken Invalid

Hello, I hope this is a really easy question, however I am having trouble getting my scripts from my site to authenticate with the Sandbox and I have hit a wall. I do the necessary steps to create a token so I can use the Sandbox as per the instructions here: http://developer.ebay.com/devzone/xml/docs/howto/tokens/gettingtokens.html I first try authenticating in my application, I get error 931 Error: Auth token is invalid. I test that same exact token in the API Explorer and it works fine. I'm just trying to do a simple **geteBayOfficialTime** request but I can't even get past the authentication step. FYI - I am using the ebay SDK for PHP, though I don't think that matters much. What am I doing wrong? Thanks
auth token is invalid
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
provalueparts avatar image
0 Likes"
provalueparts answered
So I was able to resolve this. Problem was I was using an OAuth token for the Trading API instead of an Auth'n'auth token, which made all the difference. Apparently you can't use OAuth tokens with the Trading API. Either way, this link helped me out: https://stackoverflow.com/questions/41304435/ebay-ordersapi-validation-of-the-authentication-token-in-api-request-failed
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.

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.