Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Setting poContentMD5 causes authorization failure #243

Description

@basvandijk

Setting the poContentMD5 field of the S3.PutObject record causes the following error:

S3Error 
{ s3StatusCode = Status {statusCode = 403, statusMessage = "Forbidden"}
, s3ErrorCode = "AccessDenied"
, s3ErrorMessage = "There were headers present in the request which were not signed"
, s3ErrorResource = Nothing
, s3ErrorHostId = Just "..."
, s3ErrorAccessKeyId = Nothing
, s3ErrorStringToSign = Nothing
, s3ErrorBucket = Nothing
, s3ErrorEndpointRaw = Nothing
, s3ErrorEndpoint = Nothing
}

Note that I'm using the following S3Configuration:

s3Cfg :: S3.S3Configuration Aws.NormalQuery
s3Cfg = S3.s3v4 Aws.HTTPS "..." False S3.SignWithEffort

When I set poContentMD5 to Nothing the request succeeds.

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