Closed acosendey closed 3 months ago
Same issue - the errors reported on the client is a generic message to report the issue/failure to UploadThing rather than the actual cause of the error. Had to revert to 6.9.0 to get errors although the message for file size exceeded is also strange - Unable to get presigned urls
Looking into this now
do you have a smaller repro? seems like your repo requires api keys for like 10 services
after removing some services i was able to upload successfully:
so a smaller repro with steps on how to run into the error would be appreicated
after removing some services i was able to upload successfully:
so a smaller repro with steps on how to run into the error would be appreicated
Intentionally upload an invalid type or size (to test onUploadError). Client gets generic message like adesugbaa mentioned.
Barebones:
Provide environment information
Describe the bug
I've finished the t3gallery demo and it was working fine, but after the uploadthing update the demo stopped working.
Link to reproduction
https://github.com/acosendey/logic-boards
To reproduce
ℹ UPLOADTHING 17:24:11 UploadThing dev server is now running! ⨯ UPLOADTHING 17:24:11 An error occured in your middleware function User does not have permission to upload ⨯ UPLOADTHING 17:24:11 at Object.eval [as middleware] (webpack-internal:///(rsc)/./src/app/api/uploadthing/core.ts:40:77) ⨯ UPLOADTHING 17:24:11 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Error uploading file User does not have permission to upload
Additional information
My T3 gallery: Feel free to compare the T3 gallery with my repo. I can't see where I messed up, so any feedback is appreciated.
👨👧👦 Contributing
Code of Conduct