Skip to content

AmazonS3Exception Status Code: 400, Please use AWS4-HMAC-SHA256 #71

@jarppe

Description

@jarppe

I'm getting com.amazonaws.services.s3.model.AmazonS3Exception exception with this description:

Status Code: 400, AWS Service: Amazon S3, AWS Request ID: 2A700E5BB5693E09, AWS Error Code: InvalidRequest, AWS Error Message: The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

The only operation that I can execute successfully is:

(s3/list-buckets cred)

That works, but only if I don't specify :endpoint in by cred's. If I add :endpoint "s3-eu-central-1.amazonaws.com" to my cred's, then the list-buckets gives that same exception.

Any ideas what could be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions