mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
S3 bucket mapping fails when Object Lock requires checksum headers (PutObject returns 400) #319
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smyoss on 12/29/2025
Description
Mapping a new S3 bucket fails during the direct test/mapping flow because the PutObject request is rejected by S3 when Object Lock parameters are involved. The API returns an HTTP 400 and the server logs indicate that S3 requires either a
Content-MD5header or anx-amz-checksum-*header for these requests. As a result, users are unable to validate or map a new bucket via S3 regardless of configuration attempts. This blocks onboarding/connecting new buckets where Object Lock is enabled or required.Technical Details
failed to upload test file to S3: Content-MD5 OR x-amz-checksum- HTTP header is required for Put Object requests with Object Lock parametersPOST /api/v1/storages/direct-test[GIN] 2025/12/29 - 05:28:05 | 400 | 26.509089ms | 47.150.97.18 | POST "/api/v1/storages/direct-test"Content-MD5orx-amz-checksum-*, which some S3 providers (and AWS S3 with Object Lock) require.Version
v2.18.1