调用新的 SP-API AMAZON 时出现问题。我正在使用 Amazon 提供的 C# 库。
https://github.com/amzn/ sell-partner-api-models/tree/main/clients/ sellpartner-api-aa-csharp!
资源 API:https : //sandbox.salespartnerapi-na.amazon.com/orders/v0/orders
{
"errors": [
{
"message": "Access to requested resource is denied.",
"code": "Unauthorized",
"details": ""
}
]
}
Run Code Online (Sandbox Code Playgroud)
我有同样的错误,经过几天的努力,我找到了我的解决方案,希望它可以帮助其他人。
我遵循了销售合作伙伴 API 开发人员指南中的每一步,但是,在Amazon Seller Central 中创建应用程序时,我使用了User ARN。这是我的错误。为了解决这个问题,我使用Rol ARN而不是用户 ARN创建了一个新应用程序。
| 归档时间: |
|
| 查看次数: |
3965 次 |
| 最近记录: |