Replies: 2 comments
-
You're creating an authenticated order client which you never use. Instead, you're creating a new client (Orders()) in the load all pages function that is not authenticated |
Beta Was this translation helpful? Give feedback.
0 replies
-
Many thanks! That was just the help I needed to understand what was going on. I have adjusted my code and now everything is working as expected! Fantastic help, thank you again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi very new to this library & Python. Looking for help!
Just trying to connect through to the Amazon API for the first time with the following basic code & query, but am getting an error. The error is:
raise MissingCredentials(f'Credentials are missing: {", ".join(required_credentials)}')
sp_api.base.credential_provider.MissingCredentials: Credentials are missing: aws_access_key, aws_secret_key, lwa_app_id, lwa_client_secret
Can anybody throw any light for me please on what this error actually means? here is my code (pretty much the Quickstart code from the documentation) . With my actual values for the placeholders (REFRESH_TOKEN etc) of course,:-
--------- Start code --------------------------
--------------------------End code------------------------
Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions