Skip to main content
Published: August 18 2011, 4:31:00 PMUpdated: November 28 2020, 9:58:40 PM

When enter a MPN in the ExternalProductID field, I recieve the error,

     <Errors>
          <ShortMessage>Input data is invalid.</ShortMessage>
          <LongMessage>Input data for tag &lt;ExternalProductIdentifierType&gt;
               is invalid or missing. Please check API documentation.</LongMessage>
          <ErrorCode>37</ErrorCode>
          <SeverityCode>Error</SeverityCode>
          <ErrorParameters ParamID="0">
               <Value>ExternalProductIdentifierType</Value>
          </ErrorParameters>
          <ErrorClassification>RequestError</ErrorClassification>
     </Errors>

 

Why am I getting this?

Summary

The reason why you are getting the error Input data is Invalid, is because this field has been replace with ProductListingDetails.  Do not use MPN in the ExternalProductID container of AddItem, use the BrandMPN container in ProductListingDetails instead.



Detailed Description

 

For BrandMPN, the recommended method is to use the BrandMPN container instead of ExternalProductID.   The ExternalProductID field will be deprecated soon or already have been deprecated, so definitely do not use it anymore.

Here is the details on BrandMPN
http://developer.ebay.com/DevZone/xml/docs/Reference/ebay/AddItem.html#Request.Item.ProductListingDetails.BrandMPN

For example, instead of using:

    <ExternalProductID>
      <Value>G263H</Value>
      <ReturnSearchResultOnDuplicates>1</ReturnSearchResultOnDuplicates>
      <Type>MPN</Type>
    </ExternalProductID>

Use this instead:

<ProductListingDetails>
      <IncludePrefilledItemInformation>true</IncludePrefilledItemInformation>
      <IncludeStockPhotoURL>true</IncludeStockPhotoURL>
      <BrandMPN>
        <Brand>Dell</Brand>
        <MPN>G263H</MPN>
      </BrandMPN>
    </ProductListingDetails>



Additional Resources

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