Errors

Empty S3 object body

S3/CDN read — object response has no Body.

Empty S3 object body

Storage IO (storage-backends/io) threw Empty S3 object body. when the object GET returned no body.

Why this happens

Missing/corrupt object in the bucket, wrong key/path, or provider returned an empty successful response. Distinct from File has no storage path (DB path empty).

Diagnose and fix

1. Confirm the object exists in the bucket at the expected key.

2. Re-upload or re-transfer the file if the object is gone.

3. Verify CDN/S3 credentials and bucket (CDN credentials and test connection).

4. See Invalid storage path and CDN object storage is not configured.

Related