You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting the Could not match input arguments error when trying to fetch orders. You can see in the URL that the params I set are MarketplaceIds and CreatedAfter.
Weirdly enough when I set the config.host to be the production URL, I get no error (but obviously an array of empty orders as my account has no orders, it's just my developer account.)
(Also, does this gem take care of OAuth or am I correct in thinking that I need to do that myself separately outside of this gem to get the refresh_token of the seller?)
ETHON: performed EASY effective_url=https://sandbox.sellingpartnerapi-na.amazon.com/orders/v0/orders?MarketplaceIds=A1AM78C64UM0Y8%2CATVPDKIKX0DER&CreatedAfter=2023-01-20T17%3A50%3A53 response_code=400 return_code=ok total_time=0.707399
┃ HTTP response body ~BEGIN~
┃ [{"code":"InvalidInput","message":"Could not match input arguments"}]
Thanks so much in advance!
The text was updated successfully, but these errors were encountered:
It's a different API call but I think is the same problem.
We are having the same problem when doing create_feed_document in the feeds-api-model pointing to the Sandbox. When we point to production endpoints works correctly.
Config to use sandbox:
AmzSpApi.configure do |config|
config.region = 'eu'
config.timeout = 20 # seconds
config.sandbox = true
#config.debugging = true
end
And then:
body = AmzSpApi::FeedsApiModel::CreateFeedDocumentSpecification.new(content_type: "text/xml")
response = feeds.create_feed_document(body)
Hello
I am getting the
Could not match input arguments
error when trying to fetch orders. You can see in the URL that the params I set are MarketplaceIds and CreatedAfter.Weirdly enough when I set the
config.host
to be the production URL, I get no error (but obviously an array of empty orders as my account has no orders, it's just my developer account.)(Also, does this gem take care of OAuth or am I correct in thinking that I need to do that myself separately outside of this gem to get the
refresh_token
of the seller?)Thanks so much in advance!
The text was updated successfully, but these errors were encountered: