简体   繁体   English

Amazon SP API Feeds API 处理报告:无效的产品类型

[英]Amazon SP API Feeds API processing report: Invalid product type

I have been working with the feeds API.我一直在使用提要 API。 I have been able to create a feed document, encrypt and upload a payload to the returned URL, create the feed, and then check its status.我已经能够创建一个提要文档,加密并将有效负载上传到返回的 URL,创建提要,然后检查其状态。 Once status reaches the DONE state, I was also able to get the processing report: The processing report looks like this:一旦状态达到DONE状态,我也能够获得处理报告:处理报告如下所示:

{
  "header": {
    "sellerId": "A1HGLY0OQBKE5U",
    "version": "2.0",
    "feedId": "50042018828"
  },
  "issues": [
    {
      "messageId": 1,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 2,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 3,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 4,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 5,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 6,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 7,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 8,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 9,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 10,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 11,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 12,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 13,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 14,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 15,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 16,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 17,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 18,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    },
    {
      "messageId": 19,
      "code": "4000003",
      "severity": "ERROR",
      "message": "The Amazon product type specified is invalid or not supported."
    }
  ],
  "summary": {
    "errors": 19,
    "warnings": 0,
    "messagesProcessed": 19,
    "messagesAccepted": 0,
    "messagesInvalid": 19
  }
}

The Payload was this:有效载荷是这样的:

{
  "header": {
    "sellerId": "A1HGLY0OQBKE5U",
    "version": "2.0"
  },
  "messages": [
    {
      "messageId": 1,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "Awesome Bronze Car",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "sk77"
    },
    {
      "messageId": 2,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "Sleek Steel Chair",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "sk80"
    },
    {
      "messageId": 3,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "Aerodynamic Iron Gloves",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "sk81"
    },
    {
      "messageId": 4,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "Sleek Copper Clock",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "sk86"
    },
    {
      "messageId": 5,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "Mediocre Plastic Wallet",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "sk88"
    },
    {
      "messageId": 6,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-6088C959"
    },
    {
      "messageId": 7,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-20D88EFC"
    },
    {
      "messageId": 8,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-0BAF36BA"
    },
    {
      "messageId": 9,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-CD28D4F0"
    },
    {
      "messageId": 10,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-9A544946"
    },
    {
      "messageId": 11,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-F2FD045F"
    },
    {
      "messageId": 12,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-0138EE43"
    },
    {
      "messageId": 13,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-D334BA28"
    },
    {
      "messageId": 14,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-8650D0FD"
    },
    {
      "messageId": 15,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] 1 L Le Parfait Jar",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "SLLPJ-8D93E1C3"
    },
    {
      "messageId": 16,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "Gorgeous Copper Hat",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "sk94"
    },
    {
      "messageId": 17,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "[Sample] Tiered Wire Basket",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "TWB"
    },
    {
      "messageId": 18,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "Heavy Duty Cotton Gloves",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "sk98"
    },
    {
      "messageId": 19,
      "operationType": "UPDATE",
      "productType": "SHOES",
      "attributes": {
        "item_name": [
          {
            "value": "Ergonomic Steel Lamp",
            "language_tag": "en_US",
            "marketplace_id": "A21TJRUUN4KGV"
          }
        ],
        "fulfillment_availability": [
          {
            "fulfillment_channel_code": "AMAZON_NA",
            "quantity": 10
          }
        ]
      },
      "sku": "sk103"
    }
  ]
}

As can be observed, I am using the product type SHOES .可以看出,我使用的是产品类型SHOES In a previous attempt, I had used the product type LUGGAGE because that was used in the use-case guides.在之前的尝试中,我使用了产品类型LUGGAGE因为它在用例指南中使用过。 But Amazon still does not like this.但亚马逊仍然不喜欢这样。 Could someone guide me to a list of valid product types?有人可以指导我找到有效产品类型的列表吗?

I've meet the same issue and solve this one, and I'm just sending https://sellingpartnerapi-na.amazon.com/definitions/2020-09-01/productTypes?marketplaceIds=A2EUQ1WTGCTBG2 to get the productType is PRODUCT.我遇到了同样的问题并解决了这个问题,我只是发送https://salespartnerapi-na.amazon.com/definitions/2020-09-01/productTypes?marketplaceIds=A2EUQ1WTGCTBG2来获取 productType 是 PRODUCT。

You can reference with https://github.com/amzn/selling-partner-api-docs/blob/main/references/product-type-definitions-api/definitionsProductTypes_2020-09-01.md#searchdefinitionsproducttypes to find out what is the productType it is in the seller centre without keywords paramters.您可以参考https://github.com/amzn/ sell-partner-api-docs/blob/main/ references/ product-type-definitions-api/definitionsProductTypes_2020-09-01.md#searchdefinitionsproducttypes以了解什么是productType 它在卖家中心,没有关键字参数。

Therefore you can try it again using "productType": "PRODUCT".因此,您可以使用 "productType": "PRODUCT" 再试一次。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM