For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

GetOrders is throwing warning -21917182

  • Answer ID 5060
  • Published 06/02/2015 10:58 AM
  • Updated 06/02/2015 10:58 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=5060
Product
Why is GetOrders returning warning-21917182 instead of giving the order details ?

If an item is removed by Customer Support due to violation of a policy, GetOrders api will not return any order details, instead return the following warning :

<Errors>
        <ShortMessage>Invalid orderlineids.</ShortMessage>
        <LongMessage>OrderLineItemIDs 182XXX:381XXX-58XXX could not be found. Associated Items may have been deleted or removed.</LongMessage>
        <ErrorCode>21917182</ErrorCode>
        <SeverityCode>Warning</SeverityCode>
        <ErrorParameters ParamID="0">
          <Value>182XXX:381XXX-58XXX</Value>
        </ErrorParameters>
        <ErrorClassification>RequestError</ErrorClassification>
      </Errors>

Also an easy way to check is by making a GetItem api call. For any item removed by CS, GetItem will also not return any details and throw error-17

 <Errors>
      <ShortMessage>Item cannot be accessed.</ShortMessage>
      <LongMessage>This item cannot be accessed because the listing has been deleted, is a Half.com listing, or you are not the seller.</LongMessage>
      <ErrorCode>17</ErrorCode>
      <SeverityCode>Error</SeverityCode>
      <ErrorParameters ParamID="0">
         <Value>381XXX</Value>
      </ErrorParameters>
      <ErrorClassification>RequestError</ErrorClassification>
   </Errors>




How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter