2

submitfeed 操作を使用して、子供のバリエーション テスト製品が Amazon mws API によって受け入れられない理由を解明しようとして、頭を悩ませています。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

XML が検証されるため、XSD を見て問題を特定することはできません。エラー メッセージの「値のリスト」が参照しているものは何でも、それは確かに XSD ではありません。恐れ入りますが、Amazon に電話して問題の原因を突き止めてください。

完全を期すために: XML を有効にするために、次のコードで 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 に答える
0

列見出しが、Amazon が許可している許可された列見出しと一致しなかったときに、同じエラーが発生しました。列見出しの仕様が変更される場合があります。時々、テーブルに特定のフィールドがドロップされることがあるので (図を参照)、すべての列見出しが自分のものと一致することを確認してください。スペルもチェックしてください。完全に一致している必要があります。ダニエル

于 2013-01-02T19:50:22.773 に答える