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

ProductFeesApiModel issue #8

Open
x64code opened this issue Jun 19, 2021 · 2 comments
Open

ProductFeesApiModel issue #8

x64code opened this issue Jun 19, 2021 · 2 comments

Comments

@x64code
Copy link

x64code commented Jun 19, 2021

Looks like there is an issue with the fees API

#<AmzSpApi::ProductFeesApiModel::GetMyFeesEstimateRequest:0x00007ff5510ac190> ETHON: Libcurl initialized ETHON: performed EASY effective_url=https://api.amazon.com/auth/o2/token response_code=200 return_code=ok total_time=0.331 ETHON: performed EASY effective_url=https://sellingpartnerapi-na.amazon.com/products/fees/v0/items/B07953MKHW/feesEstimate response_code=400 return_code=ok total_time=0.434946 /Users/***/.rbenv/versions/3.0.1/lib/ruby/gems/3.0.0/gems/amz_sp_api-0.2.2/lib/api_client.rb:64:in call_api': Error message: the server returns an error (AmzSpApi::ApiError)
HTTP status code: 400
Response headers: {"date"=>"Sat, 19 Jun 2021 04:27:56 GMT", "content-type"=>"application/json", "content-length"=>"185", "x-amzn-requestid"=>"ac5f09cc-773f-4cf8-a10a-18c05e3bc545", "x-amzn-ratelimit-limit"=>"10.0", "x-amz-apigw-id"=>"BJ7L8GxrIAMF-Kw=", "x-amzn-trace-id"=>"Root=1-60cd724c-2b1d6fe56631b5987a57aae4"}
Response body: {
"errors": [
{
"code": "InvalidInput",
"message": "This is an invalid input",
"details": "Missing objects [FeesEstimateRequest] in body parameters."
}
]
}`

@ericcj
Copy link
Owner

ericcj commented Jun 22, 2021

seems like this might be an issue with the generated code (that we should file on https://github.com/amzn/selling-partner-api-models) since you'd think it'd require the necessary parameters in the method signature, but what params did you pass it?

@philsmy
Copy link

philsmy commented May 17, 2023

This still seems to be an issue.

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

3 participants