Authentication Error #88
-
I'm new to the SP api, altogether, and I'm having trouble authenticating my calls. My code is from sp_api.api import Reports credentials= dict( createReportResponse = Reports(credentials = credentials).create_report(reportType='GET_FLAT_FILE_OPEN_LISTINGS_DATA')` I'm receiving the following error: sp_api.auth.exceptions.AuthorizationError: ('invalid_client', 'Client authentication failed', 401) Is there any way to get further understanding into what portion of the authentication is failing? I've grabbed each of that params for their respective places (developer central & AWS console), so it seems as though everything should be accurate. EDIT: I have re-followed the setup instructions step by step two separate times to ensure all the credentials above are correct, and am still experiencing the same error. Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I'm getting the same error and stuck as well. I Googled around and made sure I was supplying role_arn as per instruction. Did you self-authorize your app as well? I wonder if that could be the cause related to this thread https://github.com/amzn/selling-partner-api-docs/issues/66 Does anyone know? Very much appreciated! |
Beta Was this translation helpful? Give feedback.
-
Did you try other endpoints? |
Beta Was this translation helpful? Give feedback.
Did you try other endpoints?