CodeGenieApp / CodeGenieApp/serverless-express

Failing works with files

Open
#672 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
676
PR merge metrics
No merged PRs in 30d

Description

Hi, I'm using this library and I got stuck.
I have an API that receives payloads with images.
so I sent the image using Postman when running the express locally work fine and the image was not corrupted.
but when I'm using the AWS cloud, sending the same request from the postman the PNG images flips bytes, and this corrupts the image when I'm saving it into the s3 bucket.
I did everything that needed to be configured in the AWS platform i think it happened because of this lib.
the png buffer data start with: ```

Contributor guide

Open the contributing guide

Research direction

The issue names no repository files or tests and provides only local and CloudWatch buffer examples plus implementation screenshots. Start by reproducing the Postman PNG upload locally and in AWS, then trace where the request body is converted before S3 storage. Done means the same binary bytes reach storage in both environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, express, javascript
Domain
api, backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.