Find the answer to your question
Advanced Search
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"?> ... |
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
- Missing name in the variation specifics or variation specifics set
- How do I edit multi-variation listings to include the new item specific details in the variations?
- Listing as a non-profit direct seller using AddFixedPriceItem results in Error 21915483 - Not a registered nonprofit seller.
- ReviseFixedPriceItem api is throwing restricted revise error- 21916608
- Modifying variation definitions