uploadthing: [bug]: [UT] unable to get presigned urls
Provide environment information
System:
OS: macOS 12.7.1
CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
Memory: 18.94 MB / 8.00 GB
Shell: 3.2.57 - /bin/sh
Binaries:
Node: 18.17.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.1.0 - /usr/local/bin/npm
Watchman: 2023.09.04.00 - /usr/local/bin/watchman
Browsers:
Chrome: 119.0.6045.199
Safari: 17.1
npmPackages:
@uploadthing/react: ^6.0.2 => 6.0.2
typescript: 5.3.2 => 5.3.2
uploadthing: ^6.0.4 => 6.0.4
Describe the bug
I just can upload a file, but certain files of the same type uploads
Link to reproduction
https://github.com/EmmanuelKeifala/COM-LMS
To reproduce
You have to be logged in as an uploader, and try to upload any file under the Attachments and Resources.
Additional information
No response
👨👧👦 Contributing
- 🙋♂️ Yes, I’d be down to file a PR fixing this bug!
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: closed
- Created 7 months ago
- Comments: 40
I retried using the old one and it works now, might be a cache issue somewhere when I upgrade the package
Update: Confirmed 6.1.1 fixes this issue
we’ll get this part of error handling improved early 2024, we’re focused on shipping multiregion and private files right now.
the tl;dr is we don’t check the sizes locally on your server yet but this is only done on UT server, which limits the accuracy of errors we can give. i got a ticket to add this check to be part of the upload route on your server which would allow us to return a much better error of what file is too big or other route config mismatches.