Skip to main content
Published: March 08 2010, 2:43:00 PMUpdated: September 09 2022, 11:51:58 PM

Some ReviseItem requests results in the ShortMessage error, <Invalid SKU number: XXXX>.  However, this should be a valid SKU since it was included in the AddItem request.  Why am I getting this error?

This error message is caused by the tag, Item.SellerInventoryID, for all non Half items, this tag should not be included in the request.  When this happens the incorrectly worded error message returns.

<?xml version="1.0" encoding="utf-8"?>
<ReviseItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2010-03-08T20:30:21.939Z</Timestamp>
  <Ack>Failure</Ack>
  <Errors>
    <ShortMessage>Invalid SKU number: XXX.</ShortMessage>
    <LongMessage>Could not find an active item for the given SKU number. A valid ItemID or SKU number is required.</LongMessage>
    <ErrorCode>21676</ErrorCode>
    <SeverityCode>Error</SeverityCode>
    <ErrorParameters ParamID="0">
      <Value>XXX</Value>
    </ErrorParameters>
    <ErrorClassification>RequestError</ErrorClassification>
  </Errors>
  <Version>661</Version>
  <Build>E661_CORE_BUNDLED_10786459_R1</Build>
</ReviseItemResponse>

If you are recieving this error and are confused by it, remember to check for the tag, SellerInventoryID in your request, and remove it.

 

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