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
Sort by

GetOrders is throwing warning -21917182

  • Answer ID 5060
  • Published 06/02/2015 10:58 AM
  • Updated 06/02/2015 10:58 AM
  • Permalink
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 :

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

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

      <ShortMessage>Item cannot be accessed.</ShortMessage>
      <LongMessage>This item cannot be accessed because the listing has been deleted, is a listing, or you are not the seller.</LongMessage>
      <ErrorParameters ParamID="0">

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter