Files wouldn't upload, no errors

Hello, when I try to upload, this just happens, I keep seeing these requests and it's showing a loading state on the button my code looks something like this, and UploadButton is same from documentation, NextJS
<UploadButton
endpoint="imageUploader"
onClientUploadComplete={(res: any) =>
handleChange("image")(res[0] ? res[0]?.url : null)
}
onUploadError={(error: any) => {
console.log(`ERROR! ${error.message}`);
}}
/>
<UploadButton
endpoint="imageUploader"
onClientUploadComplete={(res: any) =>
handleChange("image")(res[0] ? res[0]?.url : null)
}
onUploadError={(error: any) => {
console.log(`ERROR! ${error.message}`);
}}
/>
No description
No description
Solution:
Faq – uploadthing
Docs for the best file uploader to date
Jump to solution
2 Replies
yahya
yahya5mo ago
After a while, it just stops loading and the satus requests also stop also, I can see the file on uploadthing
Solution
yahya
yahya5mo ago
Want results from more Discord servers?
Add your server