NestJS-with-Firebase icon indicating copy to clipboard operation
NestJS-with-Firebase copied to clipboard

File upload inteceptor usage

Open maksympas opened this issue 3 years ago • 1 comments

@robertIsaac hey, maybe you know workaround to upload file, as nestJS doesn't support cloud function by their default Multer and FileInterceptor. I'm getting this error now. [Nest] 83270 - 29/11/2022, 15:04:26 ERROR [ExceptionsHandler] Unexpected end of form

>  Error: Unexpected end of form
>      at Multipart._final (/Users/home/development/IllusPark/illuspark-backend/node_modules/busboy/lib/types/multipart.js:588:17)
>      at callFinal (node:internal/streams/writable:694:27)
>      at prefinish (node:internal/streams/writable:723:7)
>      at finishMaybe (node:internal/streams/writable:733:5)
>      at Multipart.Writable.end (node:internal/streams/writable:631:5)
>      at onend (node:internal/streams/readable:693:10)
>      at processTicksAndRejections (node:internal/process/task_queues:78:11)

maksympas avatar Nov 29 '22 15:11 maksympas

@maksympas no I don't, if I had time this weekend I will take a look into it and find if I can be of help

robertIsaac avatar Nov 30 '22 23:11 robertIsaac