Skip to main content
Published: May 11 2012, 2:03:00 PMUpdated: November 28 2020, 10:28:02 PM

Why am I getting the following error, "One or more item compatibility combinations are invalid. Specify, at least [Car Make, Model, Variant] for each compatibility."?

Summary

How to find the item compatibility Name/Value combination when using parts compatibility in your add item request  



Detailed Description

When using the ItemCompatibilityList to make your add item API call, you need to ensure you have the correct Name/Value pair.  To find the correct Name/Value pair, you need to make a call to one of the Product Metadata API's.
http://developer.ebay.com/DevZone/product-metadata/CallRef/index.html.  If you are not using the correct Name/Value pairs you will get back the following error, "One or more item compatibility combinations are invalid. Specify, at least [Car Make, Model, Variant] for each compatibility."

For example, you can use getCompatibilitySearchValues and getCompatibilitySearchNames to get a Name/Value pair.  Below the table contains SOAP examples for the UK site.  The getCompatibilitySearchNamesRequest will give back a response property names.  You then can take that property name for the getCompatibilitySearchValuesRequest to get the related values.

 <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://www.ebay.com/marketplace/marketplacecatalog/v1/services">
   <soap:Header/>
   <soap:Body>
      <ser:getCompatibilitySearchNamesRequest>
         <!--You may enter ANY elements at this point-->
         <ser:categoryId>33545</ser:categoryId>
         <!--Zero or more repetitions:-->
         <ser:dataset>Searchable</ser:dataset>
      </ser:getCompatibilitySearchNamesRequest>
   </soap:Body>
</soap:Envelope>

 

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ser="http://www.ebay.com/marketplace/marketplacecatalog/v1/services">
   <soap:Header/>
   <soap:Body>
      <ser:getCompatibilitySearchValuesRequest>
         <!--You may enter ANY elements at this point-->
         <ser:categoryId>33545</ser:categoryId>
         <!--Zero or more repetitions:-->
         <ser:propertyFilter>
            <ser:propertyName>Car Make</ser:propertyName>
            <!--Zero or more repetitions:-->
            <ser:value>
               <ser:text>
                  <ser:value>Ford</ser:value>
                  <!--You may enter ANY elements at this point-->
               </ser:text>     
               <!--You may enter ANY elements at this point-->
            </ser:value>
            <!--You may enter ANY elements at this point-->
         </ser:propertyFilter>
         <!--Optional:-->         
         <ser:propertyName>Model</ser:propertyName>
      </ser:getCompatibilitySearchValuesRequest>
   </soap:Body>
</soap:Envelope>



Additional Resources

Product Metadata API: http://developer.ebay.com/DevZone/product-metadata/CallRef/index.html

getCompatibilitySearchNames: http://developer.ebay.com/DevZone/product-metadata/CallRef/getCompatibilitySearchNames.html

getCompatibilitySearchValues: http://developer.ebay.com/DevZone/product-metadata/CallRef/getCompatibilitySearchValues.html

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