Passing formdata with file to server function but file disappears
Hi there
I have a image uploader in my app that uses a hook to pass the data to a server function but when I try to pass the the formdata to the serverfunction, my function's validator tells me that the file is missing
"Missing or invalid file"
. I am not sure what I am doing wrong:
server function:
Any thoughts? I posted a screenshot of my browser logs showing that the file is there
3 Replies
ambitious-aqua•6mo ago
I'm hitting the same issue. Did you have any luck figuring this out?
continuing-cyanOP•6mo ago
i stopped using the server function for now
dependent-tan•6mo ago
can you please create a github issue for this?