tsteproT
Convex Communityβ€’3y agoβ€’
11 replies
tstepro

FormData in HttpAction

Hey guys, I'm trying to use formdata from the httpAction but unfortunately unable to. Seeing this error:

Not implemented: formData() for Request. Consider calling an action defined in Node.js instead (https://docs.convex.dev/functions/actions).


I suspect that calling this in a nodejs env wouldn't fix this πŸ€” . Some context: I'm trying to upload a file from F/E to convex using an http action with some extra metadata. I can probably stuff that metadata into a header for now but would rather not πŸ˜”

Any thoughts around this?
Was this page helpful?