-
Notifications
You must be signed in to change notification settings - Fork 123
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
query params bugfix #138
query params bugfix #138
Conversation
Hi @baran-ozer, we can't recreate the bug, when we try the request you posted it works as expected. What's the error message you receive? Also, are you using the latest version of the client? |
Hi, driver creates a request URL but adds "MarketplaceIds%5B%5D" instead of "MarketplaceIds" to query string when you give an array with only 1 element. When you give two or more values in the array there is no problem. I am using version 0.7.7. |
in our server environment( ubuntu OS ) find same issue, but in macOS is ok; |
use |
Hi @amz-tools , @jiangdi0924 also saw the problem. Thanks @jiangdi0924. |
…ssues with incorrect formatting arrays of length 1 (#138)
Hi @baran-ozer, @jiangdi0924, sorry for the late reply, we now have had the time to take a closer look. The issue seems to have the origin with This somehow breaking change has been seen quite critical and as a result, the maintainers of Could you check out the branch array_format_comma_fix and give me feedback if the issue is resolved inside that branch? If so we can include the fix and publish a new version. |
Hi @amz-tools, I checked branch array_format_comma_fix and this branch solves the problem, thanks. |
@baran-ozer Thanks for confirming, we just released v0.7.8 containing the fix. |
Hello fellas, we are using this useful package but we've noticed when we pass query params as
created request generated as "https://sellingpartnerapi-na.amazon.com/orders/v0/orders?CreatedAfter=2022-06-01T00%3A00%3A00-07%3A00&MarketplaceIds%5B%5D=ATVPDKIKX0DER" so amazon api raises error missing MarketplaceIds. I know this is not a reliable solution but it will hold until the next update.