amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
611 stars 733 forks source link

GetAccount returning unauthorized #4176

Open iw-an opened 1 month ago

iw-an commented 1 month ago

I'm trying to use the new getAccount route at /sellers/v1/account but I'm hit with the error: Access to requested resource is denied.

I can use the /sellers/v1/marketplaceParticipations route just fine in the same API and in the documentation and change log I see nothing mentioning extra permissions are required.

mafge commented 1 month ago

Hi @iw-an, Please note that the getAccount operation is only available for Sandbox endpoints, and only in the EU marketplace (link to docs). Hope that helps! Best, Marc Selling Partner Developer Services

iw-an commented 1 month ago

@mafge This flat out does not work. I am making the request on https://sandbox.sellingpartnerapi-eu.amazon.com and I am also calling marketplaceParticipations which works on the sandbox. I am still getting access denied on the getAccount operation for both GB and FR marketplaces

mafge commented 1 month ago

@iw-an I see. Sorry for the inconveniences. I was able to reproduce the issue on my side. Let me check with the corresponding backend team!

mafge commented 1 month ago

@iw-an Once again sorry for the inconveniences. Backend team is working on a fix. I'll let you know as soon as it is working again!

supoman-service commented 1 month ago

I opened a case with the authorities a while ago, and they kept emphasizing that there was something wrong with my authorization or request. The Amazon team is really bad at doing their job. A very amateur group of people

iw-an commented 4 weeks ago

@mafge Is there any update on this?

mafge commented 4 weeks ago

@iw-an Thanks for reminding me! Unfortunately there was some back and forth between the teams without clear resolution yet - the error is still there. Given that this endpoint is currently only available in the sandbox also doesn't help in getting this problem prioritised. However I'll try to follow up and let you know as soon as there is something new. Thanks for your patience and sorry for the bad news!

iw-an commented 4 weeks ago

@iw-an Thanks for reminding me! Unfortunately there was some back and forth between the teams without clear resolution yet - the error is still there. Given that this endpoint is currently only available in the sandbox also doesn't help in getting this problem prioritised. However I'll try to follow up and let you know as soon as there is something new. Thanks for your patience and sorry for the bad news!

I'm confused then why this route was even announced on the change log if a) it doesn't work at all b) you can't even access the real data because its in the sandbox

What was the point of this?