Kason
Kason
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Kason on 3/2/2025 in #questions
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)
3 replies
DTDrizzle Team
Created by Kason on 2/1/2024 in #help
Can't create Supabase Schemas using Drizzle?
Hello, I've got my Drizzle connected to my Supabase, and the drizzle-kit push works for my schema.ts file. The next step I'm looking for is to be able to A) create a new Schema in Supabase (PostGres) B) run my schema.ts to create the tables within the above schema. I tried working with https://orm.drizzle.team/docs/schemas but its not working- instead it simply wipes my tables. I even tried just using the example provided and still nothing. It wipes my public schema tables, and doesn't create a new schema. Any thoughts?
4 replies