Feed().create_feed() not working. Invalid request parameters #521
Replies: 2 comments 5 replies
-
|
why it was closed? |
Beta Was this translation helpful? Give feedback.
-
|
I am also hitting this issue. @saleweaver Why was this issue closed and moved to a discussion with no further comment? Do you have a working sample of code that can upload a feed without hitting this issue? @Roman1Boba1 Did you ever solve this? I notice that you did not include the "text/xml" content-type argument, which the docs suggest should come after With the MWS migration deadline coming up at the end of 2022, I imagine that more people will be trying to convert old feeds code. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was doing "submit_feed" operation which call - "create_feed_document" and "create_feed" functions.
From "create_feed_document" I received "feedDocumentId" in payload but then "create_feed" failed with error 400 and response - "sp_api.base.exceptions.SellingApiBadRequestException: [{'code': 'InvalidInput', 'message': 'Invalid request parameters', 'details': ''}]"
Request looks like this

xml_file = open('filename.xml', 'r')
document, feed = api.Feeds(credentials=credentials, marketplace=Marketplaces.US).submit_feed("POST_FBA_INBOUND_CARTON_CONTENTS", xml_file)
Also I was tried to do "create_feed" separately and received same response. And tried with Feed()._request()
Beta Was this translation helpful? Give feedback.
All reactions