UploadThing Error: FetchError
EDIT:
I just saw in the Uploadthing chat that other users were experiencing this as well.
Hello,
I just went to go update my UploadThing to 7.5.2 as I was using a legacy version.
I'm using the exact file structure provided for NextJS App Router, however I added the bit into the core.ts around .middleware for Clerk user verification.
I've also places /api/uploadthing to my public route within my middleware to be safe.
Whenever I upload a file I receive the following error which doesn't seem to give me a lot to work off of. I've tried using Google, but all suggestions were around making the route public, or adjusting to allow for Clerk verification- both of which were unsuccessful.
Should be noted that using image URLs work fine, and i'm getting the presigned URL okay. UploadThingError: Something went wrong. Please report this to UploadThing. at INTERNAL_DO_NOT_USE__fatalClientError (index.js:495:52) at eval (button-client-BmVHUZTU.js:228:115)Caused by: FetchError at Object.catch (index.js:505:29) at eval (Micro.js:852:85)
Should be noted that using image URLs work fine, and i'm getting the presigned URL okay. UploadThingError: Something went wrong. Please report this to UploadThing. at INTERNAL_DO_NOT_USE__fatalClientError (index.js:495:52) at eval (button-client-BmVHUZTU.js:228:115)Caused by: FetchError at Object.catch (index.js:505:29) at eval (Micro.js:852:85)
2 Replies
the file upload error is happening because somthing went wrong on uploadthing's infra
everyone is getting a
503
upon uploadCheers, Happy to close this now!