selling-partner-api icon indicating copy to clipboard operation
selling-partner-api copied to clipboard

Error with details param in Inventory API

Open fc-mbouzidi opened this issue 6 months ago • 0 comments

Hi,

I want to use the inventory API. In the function getInventorySummaries, if I put the param details to true, it returns an error 4004 with the response

Bad Request (400) Response: { "errors": [ { "code": "InvalidInput", "message": "Invalid Input", "details": "" } ] }

If I set it to empty or false, the response is OK (but without details). I also tried 'true' as string, '1' or 1 but still the same error

Maybe it's because the sended url set details=1 instead of details=true

fc-mbouzidi avatar Aug 22 '24 08:08 fc-mbouzidi