Skip to main content
Published: August 28 2009, 11:19:00 AMUpdated: August 09 2022, 3:17:49 PM

Question

I tried listing an item using the AddFixedPriceItem call, but for some reason could not get the response. How can I find if my call went through successfully and whether a listing was created. I am tracking my inventory by SKU and also sending in a UUID as per the recommended best practice.

 

Answer

1. Make a call to GetItem by passing the in the SKU number that you used in your AddFixedPriceItem request. If your AddFixedPriceItem call did go through successfully, GetItem will return a successful response with the ItemID, else it will fail with the following message, by which you can infer that your AddFixedPriceItem call failed -

    <?xml version="1.0" encoding="UTF-8" ?>
<GetItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2022-08-09T20:39:10.114Z</Timestamp>
    <Ack>Failure</Ack>
  <Errors>
  <ShortMessage>No Matching SKU</ShortMessage>
  <LongMessage>There is no active item matching the specified SKU</LongMessage>
  <ErrorCode>21916270</ErrorCode>
  <SeverityCode>Error</SeverityCode>
  <ErrorClassification>RequestError</ErrorClassification>
   </Errors>


2. If you are NOT using SKU as your inventory tracking method, but do send UUID, send the same AddFixedPriceItem request again. If it succeeds, it means that your 1st AddFixedPriceItem request failed. If it doesn't, the error message will return the ItemID of the listing that resulted via your 1st AddFixedPriceItem call.

    <?xml version="1.0" encoding="UTF-8" ?>
<AddFixedPriceItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2022-08-09T20:39:10.114Z</Timestamp>
  <Ack>Failure</Ack>
<Errors>
  <ShortMessage>Duplicate UUID used.</ShortMessage>
  <LongMessage>The specified UUID has already been used; ListedByRequestAppId=1, item ID=110040602158.</LongMessage>
  <ErrorCode>488</ErrorCode>
  <SeverityCode>Error</SeverityCode>
  <ErrorParameters ParamID="0">
  <Value>1</Value>
  </ErrorParameters>
  <ErrorParameters ParamID="1">
  <Value>110040602158</Value>
  </ErrorParameters>
  <ErrorClassification>RequestError</ErrorClassification>
</Errors>

How well did this answer your question?
Answers others found helpful