Skip to content
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

Expected(200) <=> Actual(400 Bad Request) on #61

Closed
mbrinkme opened this issue Apr 11, 2016 · 2 comments
Closed

Expected(200) <=> Actual(400 Bad Request) on #61

mbrinkme opened this issue Apr 11, 2016 · 2 comments

Comments

@mbrinkme
Copy link

Hello!

I tried to use multiple asins for #get_lowest_offer_listings_for_asin. But it didn't work.
@client.get_lowest_offer_listings_for_asin("3492700934, 3551354014")
@client.get_lowest_offer_listings_for_asin(["3492700934", "3551354014"])

A single asin works:
@client.get_lowest_offer_listings_for_asin("3492700934")

I gets the following messages:

Expected(200) <=> Actual(400 Bad Request)
#<Excon::Response:0x00000006066e58
 @body=
  "<?xml version=\"1.0\"?>\n<ErrorResponse xmlns=\"http://mws.amazonservices.com/schema/Products/2011-10-01\"><Error><Type>Sender</Type><Code>InvalidParameterValue</Code><Message>3492700934, 3551354014 is not a valid ASIN</Message><Detail/></Error><RequestID>8c856b6b-e770-4fee-8448-8b026c84f210</RequestID></ErrorResponse>
``

Can you help me?
@hakanensari
Copy link
Owner

Please try:

@client.get_lowest_offer_listings_for_asin("3492700934", "3551354014")

@mbrinkme
Copy link
Author

It works fine! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants