Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMAZON's searchDefinitionsProductTypes API call returns "Unauthorized" - "Access to requested resource is denied." #4538

Open
agkyawpai opened this issue Jan 16, 2025 · 1 comment
Assignees

Comments

@agkyawpai
Copy link

agkyawpai commented Jan 16, 2025

I'm encountering an issue with the searchDefinitionsProductTypes API call, where the response returns an unauthorized access error.

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

I can successfully call createFeedDocument, createFeed, getFeedDocument, getFeed , etc. but struggle calling searchDefinitionsProductTypes. I've already tested in PostMan i works completely fine but no idea why it doesn't work in app.

@jawheral jawheral self-assigned this Jan 16, 2025
@jawheral
Copy link

Hi @agkyawpai,

Does your developer profile and application has the Product Listing Role assigned. The searchDefinitionsProductTypes and other listing related operations require this role.

Note: After assigning the new role, reauthorization is needed.

Best,
Jawher
Selling Partner Developer Services

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants