Skip to main content
Published: November 18 2009, 1:17:00 PMUpdated: September 07 2022, 4:21:57 AM

I am trying to list a multi-variations item but why I'm getting the following error -

<LongMessage>Variation Specifics provided does not match with the variation specifics of the variations on the item.</LongMessage>
    <ErrorCode>21916664</ErrorCode>

 

Use Case :1 One of the reasons you may be getting this error is because your VariationSpecificsSet does not match the actual Variations. The VariationSpecificsSet should list all the variation combinations.

Here is a snippet of the relevant section of my AddFixedPriceItem call -

<Variations>
<VariationSpecificsSet>
<NameValueList>
<Name>Size</Name>
<Value>XS</Value>
</NameValueList><NameValueList>
<Name>Color</Name>
<Value>YELLOW</Value>
</NameValueList>
</VariationSpecificsSet>


<Variation>
<SKU>00139280301700</SKU>
<StartPrice>22.00</StartPrice>
<Quantity>5</Quantity>
<VariationSpecifics>
<NameValueList>
<Name>Color</Name>
<Value>YELLOW</Value>
</NameValueList>
<NameValueList>
<Name>Size</Name>
<Value>XS</Value>
</NameValueList>
</VariationSpecifics>
</Variation>


<Variation>
<SKU>00139280302700</SKU>
<StartPrice>22.00</StartPrice>
<Quantity>55</Quantity>
<VariationSpecifics>
<NameValueList>
<Name>Color</Name>
<Value>YELLOW</Value>
</NameValueList>
<NameValueList>
<Name>Size</Name>
<Value>S</Value>
</NameValueList>
</VariationSpecifics>
</Variation>


<Variation>
<SKU>00139280303700</SKU>
<StartPrice>22.00</StartPrice>
<Quantity>83</Quantity>
<VariationSpecifics>
<NameValueList>
<Name>Color</Name>
<Value>YELLOW</Value>
</NameValueList><NameValueList>
<Name>Size</Name>
<Value>M</Value>
</NameValueList>
</VariationSpecifics>
</Variation>


<Variation>
<SKU>00139280304700</SKU>
<StartPrice>22.00</StartPrice>
<Quantity>5</Quantity>
<VariationSpecifics>
<NameValueList>
<Name>Color</Name>
<Value>YELLOW</Value>
</NameValueList><NameValueList>
<Name>Size</Name>
<Value>L</Value>
</NameValueList>
</VariationSpecifics>
</Variation>


</Variations>

Your variations have the piece in Yellow available in the following sizes - XS, S, M, L, but the VariationSpecificsSet only mentions XS. The Variations should be an equal set or a subset of the VariationSpecificsSet.

If the VariationSpecificsSet in the request is sent as below, the listing should go through fine :

<VariationSpecificsSet>
        <NameValueList>
          <Name>Size</Name>
          <Value>XS</Value>
          <Value>S</Value>
          <Value>M</Value>
          <Value>L</Value>
        </NameValueList>
        <NameValueList>
          <Name>Color</Name>
          <Value>YELLOW</Value>
        </NameValueList>
</VariationSpecificsSet>

Use Case 2: 
Another reason you may be getting this error is if you have mentioned Incorrect trait name in the Revise request.

For example : Lets assume you originally listed item with following VariationSpecificsSet :

- <VariationSpecificsSet>
- <NameValueList>
  <Name>Size</Name>
  <Value>8</Value>
  <Value>8.5</Value>
  <Value>9</Value>
  <Value>9.5</Value>
  <Value>10</Value>
  <Value>10.5</Value>
  <Value>11</Value>
  <Value>11.2</Value>
  <Value>12</Value>
  <Value>13</Value>
  </NameValueList>
- <NameValueList>
  <Name>Color</Name>
  <Value>BLACK</Value>
  </NameValueList>

But while Revising the item, you mentioned an incorrect variation name as compared to your original listing. Lets say the ReviseItem request looks something like this :

<Variations>
      <Variation>
        <SKU>SKU-123</SKU>
        <Quantity>1</Quantity>
        <StartPrice>79.74</StartPrice>
        <VariationSpecifics>
          <NameValueList>
            <Name>SIZE</Name>
            <Value>9</Value>
          </NameValueList>
          <NameValueList>
            <Name>COLOR</Name>
            <Value>BLACK</Value>
          </NameValueList>
        </VariationSpecifics>
      </Variation>
    </Variations>

If you notice, the trait names are different here i.e. in the original listing the variation names were Size and Color resp and while revising these are being sent in caps i.e. SIZE and COLOR resp.

In this case, you will get error-21916664.

In order to resolve this, change your Revise request and pass the correct variation names i.e. Size and Color resp.

 

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