Find the answer to your question
Advanced Search
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>