Uploadthing fail to upload with no error on vercel production and preview builds
I'm trying to integrate Uploadthing into my new webapp, and I have this issue where the upload is stuck at 100% and then stuck (with the request at pending in the network dev tools) in both preview and production builds on Vercel (but not on local production build) at the /dashboard route for me which is protected by Clerk auth if that makes any difference. Also added the UPLOADTHING_CALLBACK_URL env var as well as it is mentioned in FAQ for a possible issue but that did not change anything. If anyone has any recommendation or facing the same issue I'd be glad to hear🙏
Solution:Jump to solution
Well, solved it. appearantly it was isDev: true that broke it. should probably not be used in production anyway (and in my case was left there by mistake), but still weird that I got no fail or error at all.
1 Reply
Solution
Well, solved it. appearantly it was isDev: true that broke it. should probably not be used in production anyway (and in my case was left there by mistake), but still weird that I got no fail or error at all.