Replies: 9 comments 11 replies
-
Hello @trbrink21, marketplaces = ['A1PA6795UKMFR9','A1RKKUPIHCS9HS','A13V1IB3VIYZZH','A1F83G8C2ARO7P'] I hope it will resolve your problems. |
Beta Was this translation helpful? Give feedback.
-
Hello @trbrink21 |
Beta Was this translation helpful? Give feedback.
-
check your marketplaces as well. The code which worked for me is below. client_config = dict( print(json.dumps(client_config)) marketplaces = ['XXXXXXXX'] res = Orders(credentials=client_config, marketplace=Marketplaces.ES) # check your marketplace accordingly if it is India Put IN in place of ES |
Beta Was this translation helpful? Give feedback.
-
I was able to solve this by re-creating my IAM user and role. The directions must be followed TO THE LETTER. I had forgotten one of the steps where you associate x with y (sorry, I know that's not helpful). The problem, which is on Amazon's side, is that they return a 403 in a very large number of scenarios, so it's impossible to determine exactly what's wrong. |
Beta Was this translation helpful? Give feedback.
-
adding "Resource": "*" to user policy in AWS solved my auth issue. Ex: { |
Beta Was this translation helpful? Give feedback.
-
I had a similar issue, and nothing seemed to work. |
Beta Was this translation helpful? Give feedback.
-
This thread is helpful for me! Thank you |
Beta Was this translation helpful? Give feedback.
-
I went around the houses wit this one, what helped me was to add the role arn to my credentials (the yml file wasn't working for me). I'd also recommend going through the AWS IAM process a couple of times, to get familiar with it, in case you are missing a step. On my third go, I noticed I was doing something wrong! My example is for the UK ` credentials = dict( order_client = Orders(credentials=credentials, marketplace=Marketplaces.GB) |
Beta Was this translation helpful? Give feedback.
-
I did the following to solve the issue:
Thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
I've tried connecting to a few different endpoints but receive the same error every time:
SellingApiForbiddenException: [{'message': 'Access to requested resource is denied.', 'code': 'Unauthorized', 'details': ''}]
Here is what my code looks like:
Any help would be appreciated, I haven't found much luck on the internet... thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions