No file route found for slug in deployment
This issue arose when I started my deployment on Render , which simply read as
No file route found for slug messageFile
The upload page worked fine in development which say it simulated a callback .
The upload dropzone does upload files to uploadthing server , but stuck at loading like in the screenshot .
Am I doing something wrong ? I set the public url in auth middleware as
/api/uploadthing
,/api/uploadthing-multi
.

1 Reply
The string (or property of the
routeRegistry
) that you call from the client side in uploadFiles
should match the nameof the fileroute on the server, (i.e. the property at which the f(...)
call is stored