在调用get_authorization_code方法时,在AuthorizationApi中获得以下错误
AmzSpApi::ApiError (Error message: the server returns an error
HTTP status code: 400
Response headers: {"Date"=>"Tue, 19 Apr 2022 16:46:45 GMT", "Content-Type"=>"application/json", "Content-Length"=>"131", "Connection"=>"keep-alive", "x-amzn-RequestId"=>"6becf978-e4d0-4d75-b071-2033fc37da06", "x-amzn-RateLimit-Limit"=>"1.0", "x-amz-apigw-id"=>"Q1kaZGzhIAMFgKw=", "X-Amzn-Trace-Id"=>"Root=1-625ee775-4588056d54a5467f1ddac399"}
Response body: {
"errors": [
{
"code": "InvalidInput",
"message": "No MWS Authorization exists",
"details": ""
}
]
})MWS令牌是有效的,因为我可以使用它代表卖方通过MWS成功地进行调用。
现在在这个问题上停留了几天,所以你能提供的任何帮助都将是非常感谢的!
发布于 2022-07-29 02:15:27
在这个过程中有一些曲折,不幸的是,文档分散在一些地方。
简言之,这一进程是:
有三种资源可用于指导您完成此过程:
Postman查看包含屏幕截图的整个过程的所有调用的模型:https://github.com/amzn/selling-partner-api-models/tree/main/models/authorization-api-model
https://stackoverflow.com/questions/71928902
复制相似问题