Closed bernstein7 closed 9 years ago
You can rescue the error and introspect the response to see what Amazon specifically complains about.
Here it's probably a missing IdType parameter.
I'm going to dig deeper to see what Amazon specifically complains about, but it seems IdType param missing isn't the reason.
ItemSearch request hasn't IdType param
2.1.2 :006 > response = request.item_search(
2.1.2 :007 > query: {
2.1.2 :008 > 'Keywords' => 'Architecture',
2.1.2 :009 > 'SearchIndex' => 'Books'
2.1.2 :010?> }
2.1.2 :011?> )
Excon::Errors::BadRequest: Expected(200) <=> Actual(400 Bad Request)
Hello, Hakan
I need to use ItemLookup query. Simply find by ItemId. So I'm building simple request like
And send
And got
It seems credentials are valid, otherwise Response code would be 403
I also tried different params and another queries, but got the same response.
So I hope you can help me with that. Thank you.