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

Upload error 400 after onProgress reports all the way through 100% #242

Open
anshul-kai opened this issue Feb 15, 2022 · 4 comments
Open

Comments

@anshul-kai
Copy link
Contributor

Has anybody experienced a 400 error after the progress goes all the way to 100%?

I'm using a signed URL and this used to work up until a few months ago.

@mparedesi
Copy link

We had this problem today, we were using on the client:

<ReactS3Uploader ... uploadRequestHeaders={{ 'x-amz-acl': 'public-read' }} >

And on the server:
ACL: 'private',

Changing in the client x-amz-acl to private solved the case.

@marianobrolio-santex
Copy link

We had the same issue, it started happening yesterday. @mparedesi fix did the trick.
Weird thing is that we had these setting for over 5 years now. Looks like AWS fixed a really old bug this week.

@devtanc
Copy link

devtanc commented Jun 22, 2022

@mparedesi Fixed our issue as well. Just started a few days ago for us too.

@moparlakci
Copy link

Weirdly had this today. On our frontend component we didn't provide the uploadRequestHeaders prop but after checking the docs, it is set to 'public-read' as default. And in the backend we used 'private'. So this was the issue. @mparedesi thanks for pointing it out.

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

5 participants