Skip to main content
Published: January 26 2010, 4:35:00 PMUpdated: August 11 2022, 2:16:04 PM

I am trying to list a variations item but getting the following error.

        <ShortMessage>Missing name in name-value list.</ShortMessage>
        <LongMessage>Missing name in the variation specifics or variation specifics set.</LongMessage>
        <ErrorCode>21916587</ErrorCode>

What is missing in my request? Here is my Variations container -

         <Variations>
          <Variation>
            <SKU>L-NORMAL</SKU>
            <StartPrice currencyID="GBP">19.5</StartPrice>
            <Quantity>28</Quantity>
            <VariationSpecifics>
              <NameValueList>
                <Name>Size-Fit</Name>
                <Value>L-NORMAL</Value>
              </NameValueList>
            </VariationSpecifics>
            <VariationTitle>L-NORMAL</VariationTitle>
          </Variation>
          <Variation>
            <SKU>M-NORMAL</SKU>
            <StartPrice currencyID="GBP">16.5</StartPrice>
            <Quantity>18</Quantity>
            <VariationSpecifics>
              <NameValueList>
                <Name>Size-Fit</Name>
                <Value>M-NORMAL</Value>
              </NameValueList>
            </VariationSpecifics>
            <VariationTitle>M-NORMAL</VariationTitle>
          </Variation>
          <Variation>
            <SKU>S-LONG</SKU>
            <StartPrice currencyID="GBP">16.5</StartPrice>
            <Quantity>5</Quantity>
            <VariationSpecifics>
              <NameValueList>
                <Name>Size-Fit</Name>
                <Value>S-LONG</Value>
              </NameValueList>
            </VariationSpecifics>
            <VariationTitle>S-LONG</VariationTitle>
          </Variation>
          <Variation>
            <SKU>XL-LONG</SKU>
            <StartPrice currencyID="GBP">19.5</StartPrice>
            <Quantity>3</Quantity>
            <VariationSpecifics>
              <NameValueList>
                <Name>Size-Fit</Name>
                <Value>XL-LONG</Value>
              </NameValueList>
            </VariationSpecifics>
            <VariationTitle>XL-LONG</VariationTitle>
          </Variation>
        </Variations>

 

 

Your request is missing the VariationSpecificsSet container i.e. set of all variation names and values that can be applicable to the listing. This must include (but is not limited to) all names and values specified in the VariationSpecifics nodes. For your request the VariationSpecificsSet container would look like

<VariationSpecificsSet>
            <NameValueList>
              <Name>Size-Fit</Name>
              <Value>M-NORMAL</Value>
              <Value>L-NORMAL</Value>              
              <Value>S-LONG</Value>
              <Value>XL-LONG</Value>
            </NameValueList>
</VariationSpecificsSet>

 

REF: https://developer.ebay.com/devzone/xml/docs/reference/ebay/types/VariationsType.html

VariationSpecificsSet: The set of all variation specific names and values that can be applicable to the listing (at any time in its life cycle). This must include all names and values specified in the VariationSpecifics nodes.

 

 

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