Files uploaded, but client and server never reach onUploadComplete
My files are uploading successfully to UploadThing (I can access them in dashboard), but the loading spinner goes indefinitely on client. onUploadComplete is not being triggered on server or client, and onUploadError is not being triggered clientside either.
I had everything working fine the other day on setup, not sure what I did to fuck up. No errors in log on client or server. Any help is appreciated, thanks!
next: 15.2.3
uploadthing: 7.6.0
component.tsx
route.ts
core.ts
3 Replies
Same issue here in the exact same way, everything was working fine and now it isn't, did you find a fix for it?
I'm very new, so I'm not sure exactly what the source of my issue was. But the solution for me was to make the db call directly in onUploadComplete instead of using tRPC
Turns out that was the only place I needed to make that db call, so made more sense to just do it direcly instead of putting it in a procedure
I'm also having this issue >.<