Skip to content

Upload fails with The Content-MD5 you specified is not valid. #9137

@ctron

Description

@ctron

Environment info

  • NooBaa Version: 5.18.6
  • Platform: minikube v1.36.0

Actual behavior

Caused by:
    0: unhandled error (InvalidDigest)
    1: Error { code: "InvalidDigest", message: "The Content-MD5 you specified is not valid.", aws_request_id: "mcvs7oau-7yw3js-14t8", s3_extended_request_id: "mcvs7oau-7yw3js-14t8" }

Expected behavior

Should work

Steps to reproduce

Use the Rust SDK to upload a file:

    let body = FsBuilder::new().file(file).build().await?; // fails
    client
        .put_object()
        .bucket(BUCKET)
        .key("key")
        .body(body)
        .send()
        .await?;

More information - Screenshots / Logs / Other output

It just works with an actual AWS S3 bucket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions