ProductFeesApiModel issue
Opened this issue · 2 comments
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."
}
]
}`
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?
This still seems to be an issue.