Describe the bug
Can't make the CatalogItems requests
from sp_api.api import CatalogItems
def get_images(asin):
try:
catalog = CatalogItems()
response = catalog.get_catalog_item(asin)
return response.images
except Exception as e:
logging.error(f'Error getting images for asin {asin}: {e}')
raise e
Leading to
botocore.exceptions.ClientError: An error occurred (SignatureDoesNotMatch) when calling the AssumeRole operation: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
I doubled check my credentials but no luck :-(
Using PyCharm 2022.3, Python 3.10, Mac 12.6
Describe the bug
Can't make the CatalogItems requests
Leading to
I doubled check my credentials but no luck :-(
Using PyCharm 2022.3, Python 3.10, Mac 12.6