Amazon Web Services · sdk · fg-0182

S3 uploads to Cloudflare R2, MinIO, or other S3-compatible storage fail after upgrading the AWS SDK in January 2025

If you see 501 NotImplemented: Header 'x-amz-checksum-crc32' with value (...) not implemented, the cause and the fix for Amazon Web Services are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
501 NotImplemented: Header 'x-amz-checksum-crc32' with value (...) not implementedSignatureDoesNotMatch or InvalidArgument on PutObject that worked before the upgradeUploads still succeed against real Amazon S3 with the same code
Cause
New SDK releases turned on CRC checksums by default for every upload and checksum validation for downloads. Many S3-compatible services do not accept the extra checksum headers or trailers.
Fix
For non-AWS endpoints, set request and response checksum behavior to WHEN_REQUIRED in the client config, or through the shared config file or environment variables. Keep the default for real Amazon S3.
Apply
const s3 = new S3Client({ endpoint: process.env.S3_ENDPOINT, region: 'auto', requestChecksumCalculation: 'WHEN_REQUIRED', responseChecksumValidation: 'WHEN_REQUIRED', }); // or: export AWS_REQUEST_CHECKSUM_CALCULATION=when_required AWS_RESPONSE_CHECKSUM_VALIDATION=when_required
Affected
AWS SDK for JavaScript v3 3.729.0 and later; boto3 and botocore 1.36.0 and later; other SDKs and AWS CLI releases from December 2024 onward
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun