How can I handle multiple files being uploaded, but one or more fails.
Hi! I am trying to upload files using UploadThing, I am able to upload multiple files using the Dropzone component in my nextjs app.
The only thing is, say I upload 3 files, and one of them fails because it doesn't meet the size limit. Uploadthing will still upload the other 2 files even though the onUploadComplete function never runs, only the onError function will run. So I will have 3 files in my UploadThing dashboard (2 uploaded and 1 will have failed), but I don't know that the other 2 succeeded. Is there anyway to know when files have uploaded successfully when other files have failed?
0 Replies