在Amazon SP-API上发送文档提要时的错误

发布于 2025-02-11 02:28:47 字数 3578 浏览 1 评论 0原文

我正在尝试创建一个feed并在此提要中发送XML文件。
当我发送XML文件时,feed过程文件和API正在返回我:

{
    "processingEndTime": "2022-06-28T08:12:12+00:00",
    "processingStatus": "DONE",
    "marketplaceIds": [
        "A13V1IB3VIYZZH"
    ],
    "feedId": myFeedId,
    "feedType": "POST_PRODUCT_DATA",
    "createdTime": "2022-06-28T08:10:39+00:00",
    "processingStartTime": "2022-06-28T08:10:46+00:00",
    "resultFeedDocumentId": myResultFeedDocumentId
} 

通过此响应,我假设XML文件已通过Amazon SP-API成功发送。

但是,当我收到饲料处理报告时( https://developer-docs.amazon.com/sp-api/docs/docs/feeds-peeds-aps-api-api-v2021 -06-30-使用案例指定#step-6- get-get-get-for-retrieving-for-for-feed-feed-processing-report )它返回我这个错误:

sku 43,缺少属性publication_date 。 SKU 43与任何Asins不匹配。确保所有标准产品ID(例如UPC,ISBN,EAN或JAN代码)都是正确的。要创建一个新的ASIN,请包括以下属性:publication_date。 feed ID:0。有关更多故障排除帮助,请访问http://sellercentral.amazon.fr/gp/errorcode/200692370

我在文档上搜索了,我找不到有关该字段的信息: < < strong> publication_date

注意:我检查了我的XML文件,并且已经发送&lt; lastionDate&gt; and &lt; repartate&gt;

这是我发送的XML文件:


<?xml version="1.0" encoding="utf-8"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
    <Header>
        <DocumentVersion>1.01</DocumentVersion>
        <MerchantIdentifier>xxxxxxxx</MerchantIdentifier>
    </Header>
    <MessageType>Product</MessageType>
    <PurgeAndReplace>false</PurgeAndReplace>
    <Message>
        <MessageID>1</MessageID>
        <OperationType>PartialUpdate</OperationType>
        <Product>
            <SKU>43</SKU>
            <StandardProductID>
                <Type>ISBN</Type>
                <Value>xxxxxxxx</Value>
            </StandardProductID>
            <LaunchDate>2022-06-28T10:34:15</LaunchDate>
            <ReleaseDate>2013-06-17T00:00:00</ReleaseDate>
            <Condition>
                <ConditionType>New</ConditionType>
            </Condition>
            <ItemPackageQuantity>1</ItemPackageQuantity>
            <NumberOfItems>1</NumberOfItems>
            <DescriptionData>
                <Title>xxxxxxxx</Title>
                <Brand>xxxxxxxx</Brand>
                <MSRP currency="EUR">25</MSRP>
                <ItemType>Book</ItemType>
            </DescriptionData>
            <ProductData>
                <Books>
                    <ProductType>
                        <BooksMisc>
                            <Binding>School</Binding>
                            <Language>French</Language>
                            <NumberOfPages>302</NumberOfPages>
                            <Format>standard_edition</Format>
                        </BooksMisc>
                    </ProductType>
                </Books>
            </ProductData>
        </Product>
    </Message>
</AmazonEnvelope>

I am trying to create a feed and sending an XML file in this feed.
When I'm sending the XML file, the feed process the file and the API is returning me this :

{
    "processingEndTime": "2022-06-28T08:12:12+00:00",
    "processingStatus": "DONE",
    "marketplaceIds": [
        "A13V1IB3VIYZZH"
    ],
    "feedId": myFeedId,
    "feedType": "POST_PRODUCT_DATA",
    "createdTime": "2022-06-28T08:10:39+00:00",
    "processingStartTime": "2022-06-28T08:10:46+00:00",
    "resultFeedDocumentId": myResultFeedDocumentId
} 

With this response, i assume that the XML file have been successfully sended through the Amazon SP-API.

But when I'm getting the feed processing report (https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-use-case-guide#step-6-get-information-for-retrieving-the-feed-processing-report) it returns me this error :

SKU 43, Missing Attributes publication_date. SKU 43 doesn't match any ASINs. Make sure that all standard product ids (such as UPC, ISBN, EAN, or JAN codes) are correct. To create a new ASIN, include the following attributes: publication_date. Feed ID: 0. For more troubleshooting help, see http://sellercentral.amazon.fr/gp/errorcode/200692370

I searched on the doc and I couldn't find anything about the field : publication_date.

Note : I checked my XML file and I'm already sending <LaunchDate> and <ReleaseDate>.

Here's the XML file I've sent :


<?xml version="1.0" encoding="utf-8"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
    <Header>
        <DocumentVersion>1.01</DocumentVersion>
        <MerchantIdentifier>xxxxxxxx</MerchantIdentifier>
    </Header>
    <MessageType>Product</MessageType>
    <PurgeAndReplace>false</PurgeAndReplace>
    <Message>
        <MessageID>1</MessageID>
        <OperationType>PartialUpdate</OperationType>
        <Product>
            <SKU>43</SKU>
            <StandardProductID>
                <Type>ISBN</Type>
                <Value>xxxxxxxx</Value>
            </StandardProductID>
            <LaunchDate>2022-06-28T10:34:15</LaunchDate>
            <ReleaseDate>2013-06-17T00:00:00</ReleaseDate>
            <Condition>
                <ConditionType>New</ConditionType>
            </Condition>
            <ItemPackageQuantity>1</ItemPackageQuantity>
            <NumberOfItems>1</NumberOfItems>
            <DescriptionData>
                <Title>xxxxxxxx</Title>
                <Brand>xxxxxxxx</Brand>
                <MSRP currency="EUR">25</MSRP>
                <ItemType>Book</ItemType>
            </DescriptionData>
            <ProductData>
                <Books>
                    <ProductType>
                        <BooksMisc>
                            <Binding>School</Binding>
                            <Language>French</Language>
                            <NumberOfPages>302</NumberOfPages>
                            <Format>standard_edition</Format>
                        </BooksMisc>
                    </ProductType>
                </Books>
            </ProductData>
        </Product>
    </Message>
</AmazonEnvelope>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吃兔兔 2025-02-18 02:28:47

我发现了我的问题,如果有人有一天会遇到与我相同的问题。

我有这个错误,因为我的XML 丢失了必需的信息(例如publication_date),即使XSD没有给我错误。

您可以在 Amazon卖家帐户中看到缺少的信息&gt;目录&gt;完成您的草稿

I found an anwser to my question, if anyone will have the same problem as me someday.

I've got this error because my XML was missing required information (such as publication_date) even if the XSD wasn't giving me errors.

You can see the missing informations on your Amazon Seller Account > Catalogue > Complete your drafts

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文