Skip to main content
Published: June 13 2004, 5:17:00 PMUpdated: July 15 2022, 9:36:19 AM

My application called AddItem, but it never received a response. How do I know if the item was added successfully or not?

Your application should pass a unique # (GUID) into the UUID argument of AddItem. If for any reason a response is not received, your application may retry the request. If the item had previously been added, then your application will receive an XML error indicating this condition.

Here is a sample request section with the UUID:

<?xml version="1.0" encoding="utf-8"?>
<AddItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<Item>
<BuyItNowPrice>10.0</BuyItNowPrice>
<Country>US</Country>
<Currency>USD</Currency>
<Description>item description.</Description>
<ListingDuration>Days_7</ListingDuration>
....
<UUID>e9e32e2f13da4afb9d902838f337228b</UUID>
</Item>
</AddItemRequest>

Here is the error message in the response if the item is already listed with the UUID:

<Errors>
<ShortMessage>Duplicate UUID used.</ShortMessage>
<LongMessage>The specified UUID has already been used; ListedByRequestAppId=1, item ID=4503632367.</LongMessage>
<ErrorCode>488</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value>1</Value>
</ErrorParameters>
<ErrorParameters ParamID="1">
<Value>4503632367</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>

 

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