-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Bug) Invalid input content type #1178
Comments
Hello @PixsaOJ, It seems like an issue with the models over on https://github.com/amzn/selling-partner-api-models. You could work around this issue by using the 2nd parameter. const response = await this.client.cancelFulfillmentOrder({
sellerFulfillmentOrderId: id
}, {
headers: {
'content-type': 'application/json'
}
}) Let me know if it fixes the issue for you. |
Hi, I believe i was passing |
Was the solution for some reason. Why this can't just work without external parameter @tusbar ? |
I am trying to cancel fulfillment order using
cancelFulfillmentOrder
I saw this issue on version
1.10.3
so I upgraded to2.1.1
and upgraded Auth library as well.For some reason I get this content type error. Is it possible that Amazon has new requirement for content type? Maybe
charset=utf8
is not set. I don't recall having this issue before.How I use it
The text was updated successfully, but these errors were encountered: