anacronw / multer-s3

multer storage engine for amazon s3
MIT License
660 stars 190 forks source link

POST Request validation failure, cannot read 'location' of undefined #145

Closed rachelombok closed 3 years ago

rachelombok commented 3 years ago

Can anyone help me with file upload using Multer-s3? I have been trying but I keep getting Validation and Type errors, and even Mongoose errors, I'm not sure what the problem is. It is something with when I try to make a POST request, the data isn't going through to the API. I tried to show what my code is here, if anyone can give any help that would be really great. It seems that the multer-s3 request doesnt go through.

https://gist.github.com/rachelombok/c96df2bd3e7ce93048ba570c889b82be