I opened an issue on the
netlify-lambda repo here: https://github.com/netlify/netlify-lambda/issues/180
But the gist is that I’m trying to parse an image upload from a function/lambda event and it doesn’t appear to be working. I’ve tried using
busboy and also
aws-lambda-multipart-parser. I can get a resulting buffer from both, but it seems to be malformed each time. I’ve tried checking the mime type with
file-type and also trying to load the parsed image buffer into
Jimp and get the following error:
Could not find MIME for buffer (null). So it seems like, at least from these experiences, that part of the form data is getting malformed/dropped along the way.