Skip to content

x-amz-content-sha256 not in SignedHeaders #249

Open
@isk-cdn

Description

@isk-cdn

I receiving errors:
<Error><Code>AccessDenied</Code><Message>There were headers present in the request which were not signed</Message><Resource>/scs-attachments/uploads/image.png?uploads</Resource><RequestId>fb6f9b042f917b7b</RequestId><HeadersNotSigned>x-amz-content-sha256</HeadersNotSigned></Error>

According to AWS documentation (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-header-based-auth.html) signed headers should include x-amz-content-sha256:
'...SignedHeaders=date;host;x-amz-content-sha256;x-amz-date;x-amz-storage-class..'

But uploading request does not contain these headers in SignedHeaders:
image

How to solve this problem?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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