没有MWS授权:亚马逊销售合作伙伴API

发布于 2025-02-03 03:46:55 字数 838 浏览 3 评论 0 原文

每当我将任何客户从MWS迁移到SP时,我都会遇到“不存在MWS授权”错误。对我来说,如果我迁移欧盟地区的连接,情况会有所不同,那么它的工作正常。仅面临美国地区连接的问题。

为了获取授予LWA访问令牌(代码),我使用了 https://sallingpartnerapi- {customer.gregion} .amazon.com/oferations/verization/v1/oferationcode 正常工作。

要交换刷新代币的代码,我使用卖方 mwsauthtoken sallingPartnerId ,以及我的 devalederId 与卖方区域关联。

此错误的含义是

什么

一个。 https://github.com/amzn/amzn/selling-partner-partner-partner-partner-partner-api-api-文档/问题/2252

b。 通过MWS令牌要求授权代码

Whenever I am migrating any customer from MWS to SP I am getting "No MWS Authorization exists" error. For me the situation is different If I migrate the EU region connection then its works fine. Only facing issues with US region connections.

To get the grantless LWA access token (code) I used the https://sellingpartnerapi-{customer.region}.amazon.com/authorization/v1/authorizationCode which works fine.

To exchange the code for a refresh token I use the seller mwsAuthToken, sellingPartnerId, and my developerId associated with the seller region.

What is the meaning of this error:

[{'code': 'InvalidInput', 'message': 'No MWS Authorization exists', 'details': ''}]

Related questions with no answer:

a. https://github.com/amzn/selling-partner-api-docs/issues/2252

b. Amazon SP-API : Getting No MWS Authorization exists when requesting authorization code via MWS token

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故事未完 2025-02-10 03:46:56

有关此的文档在整个地方都散布,诚然很难找到。您在URL中提到了更改{customer..region},如果它适用于欧盟,那么您可能会正确获得迁移令牌,因此,听起来像是欧盟与我们唯一剩下的不同的是在我们中使用的区域授权签名。

欧盟地区卖家使用 eu-west-1/execute-api 。美国卖家使用 us-east-1/execute-api

另外,您拥有它:

The docs on this are spread all over the place and admittedly a bit hard to find. You mentioned changing {customer.region} in the url, and if it's working for EU, then you're probably getting the migration token properly, so it sounds like the only thing remaining different from EU to US is the region being used in the authorization signature.

EU region sellers use eu-west-1/execute-api. US sellers use us-east-1/execute-api.

Also, so you have it:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文