Solution skill
Support AWS S3 new checksums
Complete solution
Shows how to fix support AWS S3 new checksums. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
New AWS SDK v2 (2.30.0) allows configuring request/response checksum validation. when: ` s3client.requestChecksumCalculation(RequestChecksumCalculation.WHEN\_REQUIRED); s3client.responseChecksumValidation(ResponseChecksumValidation.WHEN\_REQUIRED); `` DeleteObjectsRequest request = DeleteObjectsRequest.builder()...
Steps
- New AWS SDK v2 (2.30.0) allows configuring request/response checksum validation.
s3client.requestChecksumCalculation(RequestChecksumCalculation.WHEN_REQUIRED);
s3client.responseChecksumValidation(ResponseChecksumValidation.WHEN_REQUIRED);`
DeleteObjectsRequest request = DeleteObjectsRequest.builder() ...
- New AWS SDK v2 checksum validation (requestChecksumCalculation / responseChecksumValidation) broke against older MinIO releases. Fixed in MinIO RELEASE.2025-01-20T14-49-07Z; the reporter confirmed it works, and a follow-up PR (#20878) covered remaining weird checksum settings. If your AWS SDK v2 checksum operations fail against MinIO, upgrade the server past that release.
When to use
You are seeing this: Issue minio/minio#20845 (closed, 22 comments): ## NOTE If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster. [!--- Provide a general summary of the issue in the Title above --] Use this skill when you run into "Support AWS S3 new checksums".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
Versions mentioned in the source: 2.30.0. If you are on something much newer or older, the details may have shifted.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Sources
- https://min.io/pricing
Evidence
In the GitHub issue gh:minio/minio#20845 (https://github.com/minio/minio/issues/20845), the problem reported was: Issue minio/minio#20845 (closed, 22 comments): ## NOTE If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.
[!--- Provide a general summary of the issue in the Title above --]
Expected Behavior
Current Behavior
New AWS SDK v2 (2.30.0) allows configuring request/response checksum validation.
when:
s3client.requestChecksumCalculation(RequestChecksumCalculation.WHEN_REQUIRED);
s3client.responseChecksumValidation(ResponseChecksumValidation.WHEN_REQUIRED);DeleteObjectsRequest request = DeleteObjectsRequest.builder()
... The verified resolution was: New AWS SDK v2 checksum validation (requestChecksumCalculation / responseChecksumValidation) broke against older MinIO releases. Fixed in MinIO RELEASE.2025-01-20T14-49-07Z; the reporter confirmed it works, and a follow-up PR (#20878) covered remaining weird checksum settings. If your AWS SDK v2 checksum operations fail against MinIO, upgrade the server past that release.By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_W-hXZ8BGPEcd1xu3Fh8b8A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Support AWS S3 new checksums <span>— Vectle</span></a>