The Feed API is a REST-based API, while LMS is a SOAP-based API. This results in differences between the error responses and error codes.

Invalid or Expired Token Error Response

The format of the error responses are different. The following example responses illustrate the differences in the responses for invalid or expired token errors.

LMS

Feed API

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
  <soapenv:Header/>
  <soapenv:Body>
    <soapenv:Fault xmlns:axis2ns21="http://www.w3.org/2003/05/soap-envelope">
      <soapenv:Code>
        <soapenv:Value>axis2ns21:Receiver</soapenv:Value>
      </soapenv:Code>
      <soapenv:Reason>
        <soapenv:Text xml:lang="en-US">Authentication failed : Token has been 
        revoked by admin</soapenv:Text>
      </soapenv:Reason>
      <soapenv:Detail>
        <errorMessage xmlns="http://www.ebay.com/marketplace/services">
          <error>
            <errorId>11002</errorId>
            <domain>Security</domain>
            <severity>Error</severity>
            <category>System</category>
            <message>Authentication failed : Token has been revoked by admin</message>
            <subdomain>Authentication</subdomain>
            <parameter name="Param1">Token has been revoked by admin</parameter>
          </error>
        </errorMessage>
      </soapenv:Detail>
    </soapenv:Fault>
  </soapenv:Body>
</soapenv:Envelope> 

HttpStatus: 401 Unauthorized

ResponseBody: {
  "errors": [
    {
      "errorId": 1001,
      "domain": "OAuth",
      "category": "REQUEST",
      "message": "Invalid access token",
      "longMessage": "Invalid access token. Check the value of the 
      Authorization HTTP request header."
    }
  ]
}

 

System Failures

In case of System Failures, error messages from the Feed API may differ from LMS.

Note: The messages are localized depending on the seller’s marketplace_id for the following locales: ["en_US", "de_DE", "en_AU", "en_CA", "en_GB", "en_IN", "en_SG", "es_ES", "fr_FR", "it_IT", "ru_RU"].

For system errors, the following error messages will be in the response file:

System Error Scenario Message

Error for cases where a feed processing failed

An error occurred while processing the feed. Please try again. If the issue occurs again, please contact Support Team for assistance.

Error where one/ many records within a file failed to process

An error occurred while processing input record number {0}. Please try again. If the issue occurs again, please contact Support Team for assistance

Error when a report generation failed

An error occurred while generating the report. Please try again. If the issue occurs again, please contact Support Team for assistance.