For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

Missing name in the variation specifics or variation specifics set

  • Answer ID 1532
  • Published 01/26/2010 03:35 PM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=1532
Product

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>


 

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter