Skip to content

SignatureDoesNotMatch #810

Description

@ohadnav

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions