12-11-2024 09:13 AM - edited 12-11-2024 12:33 PM
Trying to send a GetItem request... but getting an error telling me that GeteBayOfficialTimeResponse is not valid... which is strange.
I get the error when I send any request (including non-existent) AND, it returns the same with an expired token. Is this a default error??
***** I am using an OAuth User Token - and the API works for me with these headers and request when using Postman, as well as eBay's API Explorer... I get this error using Fortra GoAnywhere... and, I'm obviously I have something out of place there... and I am trying to track it down - hoping this error will point me to my issue.
So what does this mean?
Here's the response I get (I'll post my request below that):
----- BEGIN RESPONSE BODY ----- 2024-12-11 12:05:49 INFO <?xml version="1.0" encoding="UTF-8" ?><GeteBayOfficialTimeResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2024-12-11 17:05:49</Timestamp><Ack>Failure</Ack><Errors><ShortMessage>Unsupported API call.</ShortMessage><LongMessage>The API call "GeteBayOfficialTime" is invalid or not supported in this release.</LongMessage><ErrorCode>2</ErrorCode><SeverityCode>Error</SeverityCode><ErrorClassification>RequestError</ErrorClassification></Errors><Build>19110890</Build></GeteBayOfficialTimeResponse> 2024-12-11 12:05:49 INFO ----- END RESPONSE BODY -----
My request and headers:
X-EBAY-API-SITEID:0
X-EBAY-API-COMPATIBILITY-LEVEL:967
X-EBAY-API-CALL-NAME:GetItem
X-EBAY-API-IAF-TOKEN:*removed*
// <?xml version="1.0" encoding="utf-8"?>
// <GetItemRequest xmlns="urnapis:eBLBaseComponents"
// <ErrorLanguage>en_US</ErrorLanguage>
// <WarningLevel>High</WarningLevel>
// <ItemID>251969666023</ItemID>
// </GetItemRequest>
** UPDATE - not only do I get this message sending a GetItemRequest... but, I also get it with any nonsensical "request" that does not exist. AND, I get it with an expired token too.
So - I'm guessing that this is just some default error??
** END UPDATE**