Closed defenderjim closed 1 year ago
Error message is misleading.
If I add the following to the item detail, then it works.
itemValue = new Currency { unit = "USD", value = 30
This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.
closed for inactivity
I also encountered this problem
This bus still exists.
I'm submitting a...
SP-API Name and Version or Report/Feed Type
GetRates() v2 https://developer-docs.amazon.com/amazon-shipping/docs/shipping-api-v2-reference#getrates
I
POST to /shipping/v2/shipments/rates
I am getting the error
Invalid input : The currency unit passed into the request is invalid
I am passing:
insuredValue = new Currency { unit = "USD", value = 154 }
Expected Behavior
Should get successful response of GetRatesResponse
Should accept ISO 4217 as per the docs, which is what I am using.
Current Behavior
Invalid input : The currency unit passed into the request is invalid
This is the error, happens every time.
Context/Screenshots
Your Environment
Here is the full json body: