moaz
TTCTheo's Typesafe Cult
•Created by moaz on 1/11/2025 in #questions
Issue with UploadThing after updating from v5.5 to v7
Hi everyone! 👋
I recently updated UploadThing from v5.5 to v7 and followed the documentation to update my code. However, I’m encountering an issue when trying to upload an image using a custom component. Here’s my setup:
Custom Component:
Here’s how I use it in my component:
Problem
When I try to upload an image:
The upload button is transparent.
Clicking the button triggers the following logs:
It seems like there's a 404 error on the route /api/uploadthing?slug=courseImage.
2 replies