Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upload empty file to S3 #23

Open
arogozhnikov opened this issue Aug 5, 2024 · 0 comments
Open

Can't upload empty file to S3 #23

arogozhnikov opened this issue Aug 5, 2024 · 0 comments

Comments

@arogozhnikov
Copy link

Hello, thx for porting object-store to python!

I'm facing this issue when trying to .put('some-key', b'') (empty object) to S3 storage, other sizes work ok:

Exception: Generic S3 error: Error performing put request data: response error "<?xml version="1.0" encoding="UTF-8"?><Error><Code>MissingContentLength</Code><Message>You must provide the Content-Length HTTP header.</Message></Error>", after 0 retries: HTTP status client error (411 Length Required) for url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant