2

我正在努力弄清楚为什么我的孩子变异测试产品不会被亚马逊 mws api 使用 submitfeed 操作接受。我一遍又一遍地检查了 xsd 文件,但仍然收到以下错误消息

            <Result>
            <MessageID>1</MessageID>
            <ResultCode>Error</ResultCode>
            <ResultMessageCode>8105</ResultMessageCode>
            <ResultDescription>The data you provided for an attribute does not match the list of valid values.  Please select a valid value from the Data Definitions and resubmit.</ResultDescription>
            <AdditionalInfo>
                <SKU>TESTSKU-1</SKU>
            </AdditionalInfo>
        </Result>

从这个提交

  <Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
    <SKU>TESTSKU-1</SKU>
    <StandardProductID>
      <Type>ASIN</Type>
      <Value>B011223344</Value>
    </StandardProductID>
    <ProductTaxCode>A_GEN_NOTAX</ProductTaxCode>
    <ItemPackageQuantity>1</ItemPackageQuantity>
    <NumberOfItems>1</NumberOfItems>
    <DescriptionData>
      <Title><![CDATA[TEST2 Aquarius Star Sign Mens T Shirt - White, 100% Heavy Cotton Mens]]></Title>
      <Brand>StarliteClothing</Brand>
      <Description><![CDATA[TEST2 Aquarius Sign Mens T Shirt, 100% Heavy Cotton Mens & Boys Tee Shirts in All Sizes.  Made with 100% Heavy Cotton either Fruit of the Loom or Gilden T-Shirts.]]></Description>
      <BulletPoint>100% Cotton</BulletPoint>
      <BulletPoint>Everyday Casual Wear</BulletPoint>
      <BulletPoint>Sports Wear</BulletPoint>
      <BulletPoint>100</BulletPoint>
      <ShippingWeight unitOfMeasure="GR">425.0</ShippingWeight>
      <MSRP currency="GBP">9.99</MSRP>
      <Manufacturer></Manufacturer>
      <ItemType>example-item-type</ItemType>
      <RecommendedBrowseNode>116192031</RecommendedBrowseNode>
      <RecommendedBrowseNode>116195031</RecommendedBrowseNode>
    </DescriptionData>
    <ProductData>
      <Clothing>
             <VariationData>
                <Parentage>child</Parentage>
                <Size>Small</Size>
                <Color>White</Color>
                <VariationTheme>SizeColor</VariationTheme>
             </VariationData>
             <ClassificationData>
                <ClothingType>Shirt</ClothingType>
                <Department>Mens</Department>
                <StyleKeywords>Apparel</StyleKeywords>
                <ColorMap>White</ColorMap>
                <InnerMaterial>White</InnerMaterial>
                <OuterMaterial>White</OuterMaterial>
                <Season>All Seasons</Season>
                <CollarType>Crew</CollarType>
                <SleeveType>Short</SleeveType>
                <IsAdultProduct>false</IsAdultProduct>
             </ClassificationData>
      </Clothing>
    </ProductData>
</Product>

错误消息未指定哪个属性不正确。谁能看到哪个值不正确?

4

2 回答 2

0

当我的列标题与亚马逊允许的允许列标题不匹配时,我遇到了同样的错误。有时列标题的规范可能会改变。有时他们会在表格中删除某些字段(如图),因此只需检查所有列标题以匹配您的。还要检查拼写,它必须完全匹配。丹尼尔

于 2013-01-02T19:50:22.773 回答
0

您的 XML 已验证,因此无法通过查看 XSD 来定位问题。无论错误消息的“值列表”指的是什么,它肯定不是 XSD。恐怕你必须打电话给亚马逊才能找到问题的原因。

为了完整起见:我确实必须使用以下代码包装您的 XML 以使其有效:

<?xml version="1.0"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
  <Header>
    <DocumentVersion>1.01</DocumentVersion>
    <MerchantIdentifier>X</MerchantIdentifier>
   </Header>
   <MessageType>Product</MessageType>
   <Message>
   ... your code here ...
   </Message>
</AmazonEnvelope>
于 2013-02-25T16:21:26.113 回答