Skip to main content
Published: March 15 2012, 6:56:00 PMUpdated: August 22 2022, 3:33:01 PM

My AddFixedPriceItem request as below was blocked with Error 'Invalid Compatibilities' but if  change the PrimaryCategory to 33465, the call works fine with no issue. What is the problem?  How can I fix it?

 <AddFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
...

<PrimaryCategory>
<CategoryID>43953</CategoryID>
</PrimaryCategory>


<ItemCompatibilityList>
<Compatibility>
<CompatibilityNotes><![CDATA[ALLOY WHEEL, 16 X 7, 5 SPOKE, MACHINED AND SPARKLE SILVER (NEW REPLICA) ]]></CompatibilityNotes>
<NameValueList>
<Name>Year</Name>
<Value>1998</Value>
</NameValueList>
<NameValueList>
<Name>Make</Name>
<Value><![CDATA[Ford]]></Value>
</NameValueList>
<NameValueList>
<Name>Model</Name>
<Value><![CDATA[Explorer]]></Value>
</NameValueList>
</Compatibility>
<Compatibility>
<CompatibilityNotes><![CDATA[ALLOY WHEEL, 16 X 7, 5 SPOKE, MACHINED AND SPARKLE SILVER (NEW REPLICA) ]]></CompatibilityNotes>
<NameValueList>
<Name>Year</Name>
<Value>1998</Value>
</NameValueList>
<NameValueList>
<Name>Make</Name>
<Value><![CDATA[Ford]]></Value>
</NameValueList>
<NameValueList>
<Name>Model</Name>
<Value><![CDATA[Explorer]]></Value>
</NameValueList>
</Compatibility>
<Compatibility>
<CompatibilityNotes><![CDATA[ALLOY WHEEL, 16 X 7, 5 SPOKE, MACHINED AND SPARKLE SILVER (NEW REPLICA) ]]></CompatibilityNotes>
<NameValueList>
<Name>Year</Name>
<Value>1999</Value>
</NameValueList>
<NameValueList>
<Name>Make</Name>
<Value><![CDATA[Ford]]></Value>
</NameValueList>
<NameValueList>
<Name>Model</Name>
<Value><![CDATA[Explorer]]></Value>
</NameValueList>
</Compatibility>
<Compatibility>
<CompatibilityNotes><![CDATA[ALLOY WHEEL, 16 X 7, 5 SPOKE, MACHINED AND SPARKLE SILVER (NEW REPLICA) ]]></CompatibilityNotes>
<NameValueList>
<Name>Year</Name>
<Value>1999</Value>
</NameValueList>
<NameValueList>
<Name>Make</Name>
<Value><![CDATA[Ford]]></Value>
</NameValueList>
<NameValueList>
<Name>Model</Name>
<Value><![CDATA[Explorer]]></Value>
</NameValueList>
</Compatibility>

</ItemCompatibilityList>
..
</Item>
</AddFixedPriceItemRequest>

 

Detailed Description    

One of the reasons for getting this error is that the category of  interest (CategoryID 43953 in this sample)  supports parts compatibility by specification ( BySpecification) for which you will need to specify parts compatibility by defining the part's relevant dimensions and values using ItemSpecifics.
   Removing the ItemCompatibilityList container and adding the ItemSpecifics as below, you should be able to list an item with parts compatibility in the category Wheels - 43953 : 

 <ItemSpecifics>
      <NameValueList>
        <Name><![CDATA[Bolt Pattern]]></Name>
        <Value><![CDATA[4x114.3]]></Value>
      </NameValueList>
      <NameValueList>
        <Name><![CDATA[Offset]]></Name>
        <Value><![CDATA[-47]]></Value>
      </NameValueList>
         <NameValueList>
        <Name>Manufacturer Part Number</Name>
        <Value><![CDATA[ALY20482]]></Value>
      </NameValueList>
      <NameValueList>
        <Name>Part Brand</Name>
        <Value><![CDATA[Aftermarket Alloy Wheels]]></Value>
      </NameValueList>
      <NameValueList>
        <Name>Product Line</Name>
        <Value>Standard Grade</Value>
      </NameValueList>
      <NameValueList>
        <Name>Color</Name>
        <Value>Machined And Sparkle Silver</Value>
      </NameValueList>
      <NameValueList>
        <Name>Number of Bolts</Name>
        <Value>5</Value>
      </NameValueList>
      <NameValueList>
        <Name>Rim Material</Name>
        <Value>Alloy</Value>
      </NameValueList>
      <NameValueList>
        <Name>Rim Diameter</Name>
        <Value>16</Value>
      </NameValueList>
      <NameValueList>
        <Name>Rim Width</Name>
        <Value>Y</Value>
      </NameValueList>
      <NameValueList>
        <Name>Placement on Vehicle</Name>
        <Value>
        </Value>
      </NameValueList>
      <NameValueList>
        <Name>Product Type</Name>
        <Value>Replacement</Value>
      </NameValueList>
      <NameValueList>
        <Name>OEM Number</Name>
        <Value><![CDATA[615343007861]]></Value>
        <Value><![CDATA[840304001248]]></Value>
        <Value><![CDATA[F87Z1007HB]]></Value>
      </NameValueList>
    </ItemSpecifics>

 

  A category supports compatibility by specification (BySpecification), by application (ByApplication), or not at all (Disabled).   You can make GetCategoryFeatures API call to find out the information. Here is the GetCategoryFeatures API request and response for the category 43953.

 <?xml version="1.0" encoding="utf-8"?>
<GetCategoryFeaturesRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <RequesterCredentials>
    <eBayAuthToken>xxx</eBayAuthToken>
  </RequesterCredentials>
  <Version>757</Version>
  <CategoryID>43953</CategoryID>
  <FeatureID>CompatibilityEnabled</FeatureID>
  <FeatureID>MinCompatibleApplications</FeatureID>
  <FeatureID>MaxCompatibleApplications</FeatureID>
  <DetailLevel>ReturnAll</DetailLevel>
</GetCategoryFeaturesRequest>


  <?xml version="1.0" encoding="utf-8"?>
<GetCategoryFeaturesResponse xmlns="urn:ebay:apis:eBLBaseComponents">
  <Timestamp>2012-02-28T21:18:46.513Z</Timestamp>
  <Ack>Success</Ack>
  <Version>757</Version>
  <Build>E757_CORE_BUNDLED_14309319_R1</Build>
  <CategoryVersion>1403</CategoryVersion>
  <UpdateTime>2012-02-28T09:31:51.000Z</UpdateTime>
  <Category>
    <CategoryID>43953</CategoryID>
    <ItemCompatibilityEnabled>BySpecification</ItemCompatibilityEnabled>
    <MaxItemCompatibility>300</MaxItemCompatibility>
  </Category>

  ...
  </GetCategoryFeaturesResponse>

  For the categories that support parts compatibility ByApplication, you will have to define parts compatibility in the ItemCompatibilityList container in your AddFixedPriceItems as showing in the top of this article. 


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

Got thoughts? Click the feedback button – your insights help us improve!