Comments (4)
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.
from selling-partner-api-sdk.
Hi, I believe i was passing null
as id
. The error was misleading, because it has nothing to do with content type.
from selling-partner-api-sdk.
{
headers: {
'content-type': 'application/json'
}
}
Was the solution for some reason. Why this can't just work without external parameter @tusbar ?
from selling-partner-api-sdk.
@PixsaOJ this is probably an issue with the models from Amazon
from selling-partner-api-sdk.
Related Issues (13)
- Region is missing HOT 4
- Getting error code 429: "QuotaExceeded" HOT 2
- TypeError - Cannot read properties of undefined (reading 'packageJson') HOT 4
- address error for amazon STS while trying to use financesAPI HOT 1
- Error using "na" region. HOT 4
- Feature request: Export the Api classses
- npm install not working HOT 1
- Requesting vendorDetails in getCatalogItem results in 400 response error HOT 1
- [Bug] omit sessionToken if undefined HOT 10
- Issue with Auth Types on Catalog APIs HOT 4
- [feature request] regenerate notifications schemas HOT 2
- Types have separate declarations of a private property 'clientId'. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selling-partner-api-sdk.