AuthorizationError - Invalid Client - Amazon Vendor #1053
Unanswered
rene-schwabe
asked this question in
Q&A
Replies: 3 comments
-
I have the same problem... |
Beta Was this translation helpful? Give feedback.
0 replies
-
For me on EU market the client secret starts as yours. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The problem was my lwa_clint_id, it was wrong |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I´d like to access Amazon Vendor and receive CatalogItems.
This is my code:
from sp_api.api import CatalogItems
import const
client_config = dict(
refresh_token=const.REFRESH_TOKEN,
lwa_app_id=const.LWA_APP_ID,
lwa_client_secret=const.CLIENT_SECRET,
aws_secret_key=const.AWS_SECRET_KEY,
aws_access_key=const.AWS_ACCESS_KEY,
role_arn=const.ROLE_ARN,
)
res = CatalogItems(credentials=client_config).get_catalog_item(
"XXXXX", MarketplaceId="A1PA6795UKMFR9"
)
I receive the error
sp_api.auth.exceptions.AuthorizationError: ('invalid_client', 'Client authentication failed', 401)
The only thing is that the amazon vendor Client Secret start with "amzn1.oa2-cs.v1"
Is this correct? The documentation says it will look like "b5f7f8..."
Beta Was this translation helpful? Give feedback.
All reactions