You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am uploading jpeg files from front end (Angular) using form-data to S3 via AWS Lambda. I have installed this plugin and in my serverless.yml have included the configuration as mentioned in this plugin's documentation.
However when I view the file on S3 it is corrupted. Does not matter what type of file I upload (image, doc, pdf) I cannot open it on download. This issue is also present when I make a direct POST request to my lambda function from Postman.
The text was updated successfully, but these errors were encountered:
So anyone who finds this and is facing the same issue, if you are receiving multipart/form-data from your front end then in your serverless.yml use this
I am uploading jpeg files from front end (Angular) using form-data to S3 via AWS Lambda. I have installed this plugin and in my serverless.yml have included the configuration as mentioned in this plugin's documentation.
However when I view the file on S3 it is corrupted. Does not matter what type of file I upload (image, doc, pdf) I cannot open it on download. This issue is also present when I make a direct POST request to my lambda function from Postman.
The text was updated successfully, but these errors were encountered: