uppy icon indicating copy to clipboard operation
uppy copied to clipboard

Error with presigned put to s3 after updating @uppy/aws-s3 from 1.33 -> 1.40

Open mikereczek opened this issue 6 years ago • 3 comments

Hi there - first of all, thanks for your hard work on uppy!

    "@uppy/aws-s3": "^1.3.3",
    "@uppy/core": "^1.6.0",
    "@uppy/dashboard": "^1.5.0",
    "@uppy/react": "^1.4.0",

In aws-s3 1.40, I get the following error when trying to upload a presigned_url put to s3:

uppy error

Looks like the error points to these changed lines:

uppy changes

Note that despite the error, the file is properly uploaded to s3.

Everything works fine in 1.33.

Let me know if any additional information would be helpful!

mikereczek avatar Dec 20 '19 05:12 mikereczek

I've stumbled across this as well. Looks like the S3 PUT request responses don't return anything in their body, or a "Content-Type" header, which Uppy anticipates.

michaelsavchuk avatar Dec 20 '19 22:12 michaelsavchuk

Same issue for me - file uploads to cache but does not complete. I am uploading to Digital Ocean Spaces.

petebytes avatar Dec 24 '19 22:12 petebytes

thanks for the report! I believe this was fixed in https://github.com/transloadit/uppy/pull/2012, and it will come to a release near you Very Soon™.

goto-bus-stop avatar Jan 13 '20 11:01 goto-bus-stop