Hi -
I am getting the following response (Invalid IAF token) when using Test Sandbox against the UK marketplace. I have tried other marketplaces to no avail. I am using oAuth. Any help appreciated.
Response Headers and Body...
- rlogid:t6buotfijn...
- x-ebay-api-pool-name:___dDZi...
- x-ebay-api-server-name:___anFwZ...
- content-type:text/xml
- content-length:510
- date:Mon, 25 Oct 2021 09:12:24 GMT
- x-envoy-upstream-service-time:73
- server:ebay-proxy-server
- x-ebay-pop-id:UFES2-LVSAZ01-apisandbox
- connection:close
- <?xml version="1.0" encoding="UTF-8"?>
- <GetMyeBaySellingResponse
- xmlns="urn:ebay:apis:eBLBaseComponents">
- <Timestamp>2021-10-25T09:12:24.640Z</Timestamp>
- <Ack>Failure</Ack>
- <Errors>
- <ShortMessage>Invalid IAF token.</ShortMessage>
- <LongMessage>IAF token supplied is invalid. </LongMessage>
- <ErrorCode>21916984</ErrorCode>
- <SeverityCode>Error</SeverityCode>
- <ErrorClassification>RequestError</ErrorClassification>
- </Errors>
- <Version>1173</Version>
- <Build>E1173_CORE_APISELLING_19187371_R1</Build>
- </GetMyeBaySellingResponse>
The Headers and Body that Sandbox sends in are:
- X-EBAY-API-SITEID:3
- X-EBAY-API-COMPATIBILITY-LEVEL:967
- X-EBAY-API-CALL-NAME:GetMyeBaySelling
- X-EBAY-API-IAF-TOKEN:v^...{the rest of the token}
- <?xml version="1.0" encoding="utf-8"?>
- <GetMyeBaySellingRequest xmlns="urn:ebay:apis:eBLBaseComponents">
- <ErrorLanguage>en_US</ErrorLanguage>
- <WarningLevel>High</WarningLevel>
- <ActiveList>
- <Sort>TimeLeft</Sort>
- <Pagination>
- <EntriesPerPage>3</EntriesPerPage>
- <PageNumber>1</PageNumber>
- </Pagination>
- </ActiveList>
- </GetMyeBaySellingRequest>