davidtsadler / ebay-sdk-examples

Several examples of using the eBay SDK for PHP
http://devbay.net
Apache License 2.0
184 stars 100 forks source link

Error Status Code: 401 1001: Invalid access token #42

Closed AntoninoPlatania closed 4 years ago

AntoninoPlatania commented 7 years ago

Goodmorning,

When i try "01-get-inventory-item.php" give me that error

How i can resolve?

Thank

AntoninoPlatania commented 7 years ago

i resolve,

now return 25710: We didn't find the entity you are requesting. Please verify the request

how i can resolve that?

rispeterson commented 6 years ago

Hi @AntoninoPlatania, I am using 11-CreateorReplaceInventoryItem.php, and getting an error 401- Unauthorized' Client Exception. The Whole error goes like this :

GuzzleHttp\Exception\ClientException: Client error: PUT https://api.sandbox.ebay.com/sell/inventory/v1/inventory_item/123 resulted in a 401 Unauthorized response: { "errors" : [ { "errorId" : 1001, "domain" : "OAuth", "category" : "REQUEST", "message" : "Invalid ac (truncated...) in C:\wamp64\www\Project1\vendor\ebay-sdk-php\GuzzleHttp\Exception\RequestException.php on line 113

How to solve this error

waqar81 commented 5 years ago

my issue is also same i am using production token not sand box

waqar81 commented 5 years ago

please help i am stuck with this