Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
isk-cdn opened this issue May 11, 2022 · 0 comments
Open

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

isk-cdn opened this issue May 11, 2022 · 0 comments

Comments

@isk-cdn
Copy link

isk-cdn commented May 11, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant