2012-12-11 2 views
1

제출 변경 작업을 사용하여 아마존 mws API가 내 변형 테스트 제품을 허용하지 않는 이유를 알아 냈습니다. 나는 또 다시 XSD 파일을 확인했지만 난 여전히이 제출amazon mws api에서 submitfeed 오류 - 속성이 유효한 값 목록과 일치하지 않습니다.

<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> 

잘못되는 속성을 지정하지 않은 오류 메시지에서 다음과 같은 오류 메시지가

  <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> 

를 얻을. 누구든지 잘못된 값을 볼 수 있습니까?

답변

0

내 열 머리글이 Amazon에서 허용 된 허용 열 머리글과 일치하지 않을 때도 동일한 오류가 발생했습니다. 경우에 따라 열 제목의 사양이 변경 될 수 있습니다. 때로는 테이블에있는 특정 필드를 드롭합니다 (그림 참조). 그러면 모든 열 제목을 확인하여 자신의 것과 일치 시키십시오. 또한 맞춤법을 검사하십시오. 정확하게 일치해야합니다. Daniel

0

XML이 유효성을 검사하므로 XSD를 보면 문제를 찾을 수 없습니다. 오류 메시지의 "값 목록"이 무엇을 가리키고 있든, 반드시 XSD가 아닙니다. 문제의 원인을 찾기 위해 아마존에 전화해야 할 것 같습니다. 완성도를 위해서

:

<?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> 
: 나는 그것이 유효하게하려면 다음 코드를 사용하여 XML을 포장했을까요
관련 문제