-
Notifications
You must be signed in to change notification settings - Fork 12
[Bug] listInventorySupply is not supporting SellerSkus #368
Comments
Yes, the example was wrong. But the implementation was correct. It is |
🎉 This issue has been resolved in version 1.9.50 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Also tried it with
|
Hopefully, #372 fixes it! Please test the next release (should be shortly after merge). |
## [1.9.51](v1.9.50...v1.9.51) (2021-05-05) ### Bug Fixes * listInventorySupply to use GET method instead of POST ([d0176f9](d0176f9)), closes [#368](#368)
🎉 This issue has been resolved in version 1.9.51 🎉 The release is available on: Your semantic-release bot 📦🚀 |
The issue still persists. It seems like SellerSkus is totally ignored. I tested to provide SellerSkus and QueryStartDateTime (which should result into an error) but it worked. |
@moltar could you have a look at this issue again? |
@danielbebbernovacode please provide your request example |
Query: const main = async () => {
const parameters = {
MarketplaceId: amazonMarketplaces.DE.id,
SellerSkus: ["QA-D58Q-SVCD"]
};
const [
listInventorySupply,
requestMeta
] = await fulfillmentInventory.listInventorySupply(parameters);
console.log(listInventorySupply); Response: <ErrorResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">
<Error>
<Type>Sender</Type>
<Code>InvalidRequestException</Code>
<Message>One of SellerSkus and QueryStartDateTime is required</Message>
</Error>
<RequestId>b8929c12-bd2e-4cac-b3d7-e4fbf7b1f4e9</RequestId>
</ErrorResponse> |
I'm making a request from the examples, and I am seeing the following HTTP request: GET /FulfillmentInventory/2010-10-01?AWSAccessKeyId=&Action=ListInventorySupply&MWSAuthToken=&MarketplaceId=ATVPDKIKX0DER&SellerId=&SellersSkus.member.1=SKU123&SellersSkus.member.2=SKU456&Signature=...&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2021-05-11T08%3A56%3A26.664Z&Version=2010-10-01 Which is almost exactly the same as the one in the example:
Can you do a successful request in a scratchpad, and then share the HTTP request? Scratchpad URL: https://mws.amazonservices.ca/scratchpad/index.html |
I also get a correct response in scratchpad:
|
Yeah, I found the bug for sure this time. I tested and the call works locally. Wait for the release shortly. |
🎉 This issue has been resolved in version 1.9.55 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Working fine! Thank you for fixing this issue so fast :) |
Hello,
While I was using the listInventorySupply API call I noticed that it is not possible to use the SellerSkus parameter.
I always get an error as response:
<ErrorResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/"> <Error> <Type>Sender</Type> <Code>InvalidRequestException</Code> <Message>One of SellerSkus and QueryStartDateTime is required</Message> </Error> <RequestId>41763488-209b-4ea9-bbf7-2c136983c908</RequestId> </ErrorResponse>
Since you noted it as "SellerSku" inside the example (which would not match the Amazon API docu) I also tried it with SellerSku but had the same result. Seems like there is a bug there.
Best Regards,
Daniel
The text was updated successfully, but these errors were encountered: