Open sree-kanth opened 2 years ago
We suspect this could be occurring due to adding the requests-aws4auth library as part of the requirements.txt file. This because, the last time I used this template to build the stack was in mid-October and the only change that has been committed to this repository after that is the inclusion of this requests library. Could you please advise on what is the best way forward to fix this? Thanks!
I am just trying to use the quickstart guide and also getting a ""message": "Access to requested resource is denied.", "code": "Unauthorized", "details": "
Is the documentation off or what? https://aws-quickstart.github.io/quickstart-amazon-selling-partner-api/#_edit_and_test_the_aws_lambda_function
Man this api is hard to use!
@andrew-glenn or anyone?
Hi there,
I had been using this lambda function to download vendor central brand analytics reports until the end of November 2021. I came back from holidays now in Jan and see that the API calls are failing. I see there have been some changes to the sp-api (for eg. to GET_VENDOR_SALES_DIAGNOSTIC_REPORT in the recent past). The error I am getting is when I make the following call:
requests.post('https://sellingpartnerapi-eu.amazon.com/reports/2021-06-30/reports', auth=auth, headers=headers, json=data)
I get a 403 error and it is not returning the report_ID that we need to get the report downloaded. I checked connecting using the same creds via Postman, and that works well. Please advise on what might be going wrong. Thanks!
Cheers, Sree.