Skip to content

CreateMultiPartUpload accepts a ChecksumType argument but does not respect it #6888

@kasir-barati

Description

@kasir-barati

Checkboxes for prior research

Describe the bug

So I've been banging my head against brick walls for the past 2 days and it seems that either this SDK or AWS S3 API has not implemented this part yet. But for whatever reason you can get into this messy situation where you dunno where you should go.

Regression Issue

  • Select this option if this issue appears to be a regression.

SDK version number

@aws-sdk/[email protected]

Which JavaScript Runtime is this issue in?

Node.js

Details of the browser/Node.js/ReactNative version

v22.12.0

Reproduction Steps

  1. Clone my repo.
  2. Follow these steps.

Observed Behavior

It just keeps acting as though I said I wanted to have a composite checksum!!!

As I have already explained it in detail here: https://repost.aws/questions/QU5H7iryj4S3q4u5-UCsmasQ/xamzcontentchecksummismatch-the-provided-x-amz-checksum-header-does-not-match-what-was-computed#COUJwdLGnDR3aOt5cEHzUXRQ

Expected Behavior

Generate a single checksum for the whole file.

Possible Solution

Do not have one.

Additional Information/Context

I've seen this here as well: #6742 (comment)

It is an issue in Upload class of @aws-sdk/lib-storage.

Caution

I have the feeling that this might be a problem with Minio since for local development I use Minio to speed up dev. I am gonna try it with AWS S3 this time and see if the issue persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.needs-triageThis issue or PR still needs to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions