Skip to content

Could not match input arguments for Orders API call #42

@tarekrahme

Description

@tarekrahme

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?)

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions