[GH-ISSUE #1545] Parse S3 Error Codes to return more specific errno #812

Closed
opened 2026-03-04 01:48:59 +03:00 by kerem · 0 comments
Owner

Originally created by @gaul on GitHub (Feb 3, 2021).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1545

For example, when writing a > 5 GB single part object to AWS it rejects it:

head: s3fs: [ERR] curl.cpp:RequestPerform(2282): HTTP response code 400, returning EIO. Body Text: <?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload exceeds the maximum allowed object size.</Message><RequestId>4442587FB7D0A2F9</RequestId></Error>

This manifests to users as EIO instead of the more specific EFBIG.

Originally created by @gaul on GitHub (Feb 3, 2021). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1545 For example, when writing a > 5 GB single part object to AWS it rejects it: ``` head: s3fs: [ERR] curl.cpp:RequestPerform(2282): HTTP response code 400, returning EIO. Body Text: <?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload exceeds the maximum allowed object size.</Message><RequestId>4442587FB7D0A2F9</RequestId></Error> ``` This manifests to users as `EIO` instead of the more specific `EFBIG`.
kerem closed this issue 2026-03-04 01:48:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#812
No description provided.