Skip to main content
Published: December 22 2014, 1:33:00 PMUpdated: November 28 2020, 10:39:59 PM

Why do I get the following error when trying to revise my item, "Duplicate custom variation label."?

Summary

Why you are getting the following error, "Duplicate custom variation label."



Detailed Description

If you are trying to revise an item with variations, and you recieve the following error,         

<Errors>
  <ShortMessage>Duplicate custom variation label.</ShortMessage>
  <LongMessage>Duplicate custom variation label.</LongMessage>
  <ErrorCode>21916585</ErrorCode>
  <SeverityCode>Error</SeverityCode>
  <ErrorClassification>RequestError</ErrorClassification>
  </Errors>

This means you are trying to use a Variation.SKU that is already in use.  If this is the case you want to double check your SKU's to ensure they are correct.  You also may want to review your variation information, such as your NameValueList pairs.  You may accidentally have the same SKU's being used but with different values.  Example, you originally list the item with the follwoing,

 

<Variation>

  <SKU>TESTSKU</SKU>

  <StartPrice currencyID="USD">1</StartPrice>

  <Quantity>1</Quantity>

  <VariationSpecifics>

    <NameValueList>

      <Name>Color</Name>

      <Value>Yellows</Value>

    </NameValueList>

  </VariationSpecifics>

</Variation>

But then when you try to revise the item you may be using a differnt value (above is Yellows and below is Blacks),

 

<Variation>

  <SKU>TESTSKU</SKU>

  <StartPrice currencyID="USD">1</StartPrice>

  <Quantity>1</Quantity>

  <VariationSpecifics>

    <NameValueList>

      <Name>Color</Name>

      <Value>Blacks</Value>

    </NameValueList>

  </VariationSpecifics>

</Variation>

This will result in an error.


Also, the other reason could be that you may have specified the same SKU Item level and at variation level. Whether the SKU is ManagedByInventory or not, you cannot use the same SKU at item level and Variation level. In order to get rid of this error, you need to change the SKU and use different SKU at item level or variation level.



Additional Resources

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