Skip to main content
Published: June 02 2015, 10:58:00 AMUpdated: November 28 2020, 12:58:36 PM

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