amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
585 stars 730 forks source link

'message': 'Request has missing or invalid parameters and cannot be parsed.', | Item Listing #1727

Closed Emizy closed 1 year ago

Emizy commented 3 years ago

HELP NEEDED !!!

API ACTION PUT /listings/2020-09-01/items/{sellerId}/{sku} Operation: putListingsItem Description: Creates a new or fully-updates an existing listings item for a selling partner.

We having been trying to make use of the above endpoint just to upload / list our product on amazon but we kept getting 'message': 'Request has missing or invalid parameters and cannot be parsed.', as response even though the message is well descriptive but currently had know clue on cause of the error.

Action Taken so far:

  1. Call the product definition endpoint which returns appropriate schema however its only return Product as the product type
  2. Construct the json equivalent of the schema returns via product definition endpoint ,which its passed with the picture below
  3. image_2021-08-07_214633 sample json "brand": [ {"value": "Sony", "marketplace_id": "A2NODRKZP88ZB9", "language_tag": "sv_SE"} ], "bullet_point": [ { "marketplace_id": "A2NODRKZP88ZB9", "language_tag": "sv_SE", "value": "Breathable leather lining" }, { "marketplace_id": "A2NODRKZP88ZB9", "language_tag": "sv_SE", "value": "Breathable leather lining 2" }, ], "color": [ { "marketplace_id": "A2NODRKZP88ZB9", "language_tag": "sv_SE", "value": "Cranberry" } ],

    1. Validated using python jsonschema and return valid
    2. make a request to the endpoint with this payload {'body': {'productType': 'PRODUCT', 'requirements': 'LISTING', 'attributes': {'brand': [{'value': 'Sony', 'marketplace_id': 'A2NODRKZP88ZB9', 'language_tag': 'sv_SE'}],}}

After passing through all the above process its always return 'message': 'Request has missing or invalid parameters and cannot be parsed.',

Currently don't know what exactly am doing wrong ,I will so much appreciate if you can point me to the right direction as this has really taken alot of my time just to get it working.

yizeku commented 3 years ago

Hi @Emizy !

I encountered the same mistake. Have you solved it?

Thank you.

github-actions[bot] commented 2 years ago

This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.

hashhesh commented 2 years ago

Hi all

have any one solved have at least workarounds for this issue, I keep receiving this error 'The Amazon product type specified is invalid or not supported' whatever the productType I pass, it return with the sam error.

I hope one of amazon team read this thread soon because, it's really painful to have Feed and putListingsItem.

github-actions[bot] commented 1 year ago

This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.

github-actions[bot] commented 1 year ago

closed for inactivity