SP-API: 'Access to requested resource is denied'

0

Hello,

I'm having some trouble getting my first SP-API request to work. I have followed all the instructions on the Selling Partner API Developer Guide (https://github.com/amzn/selling-partner-api-docs/blob/main/guides/en-US/developer-guide/SellingPartnerApiDeveloperGuide.md).

My requests appear to authenticate correctly so I believe the signature etc is valid. However I'm receiving the following response:

{
errors: [
{
message: 'Access to requested resource is denied.',
code: 'Unauthorized',
details: ''
}
]
}

I believe this is something to do with the IAM configuration. I have a user with a "SellingPartnerAPIPolicy" permissions policy attached. I also have a "SellingPartnerAPIRole" Role defined to which the "SellingPartnerAPIPolicy" permissions policy is also attached. I am using the user credentials in my request.

Can anybody point me in the right direction to resolve this?

Many thanks,
Meriadoc.

3개 답변
1

I think this is because you are not authorize your application. Go to your amazon seller center and authorize your application.

답변함 2년 전
0

Doesn't anyone have any idea...?

답변함 3년 전
0

I have the same problem - i've authorized my app but cant seem to get beyond the authenticating stage either. anyone else have any ideas?

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠