XAmzContentSHA256Mismatch: The provided 'x-amz-content-sha256' header does not match what was computed #6893
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
workaround-available
This issue has a work around available.
Checkboxes for prior research
Describe the bug
Hi,
We are getting XAmzContentSHA256Mismatch issue randomly when try to upload ~400 files to S3.
From primary investigation its looks like it fails when there is race condition OR multi thread condition.
Checked similar mentioned issues - aws/aws-sdk-ruby#1594 , #6115 , but it seems it's still not fixed.
Regression Issue
SDK version number
"@aws-sdk/client-s3": "3.744.0", "@aws-sdk/lib-storage": "3.744.0"
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
20.14.0
Reproduction Steps
and calling uploadFileToS3 in Promise.all([<uploadFileToS3(...), uploadFileToS3(...), uploadFileToS3(...)>]);
Observed Behavior
Expected Behavior
aws sdk should create and match authorization headers if not provided manually.
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: