CodeGenieApp / CodeGenieApp/serverless-express

Failing works with files

オープン
#672 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
5.3k
フォーク
676
PR マージ指標
30日以内にマージされた PR はありません

説明

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: ```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

この issue ではリポジトリのファイルやテストが指定されておらず、ローカルと CloudWatch のバッファーの例、および実装のスクリーンショットのみが提供されています。まず、Postman での PNG アップロードをローカルと AWS で再現し、その後、S3 に保存される前にリクエストボディがどこで変換されるのかを追跡してください。両方の環境で同じバイナリバイトがストレージに到達すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, express, javascript
領域
api, backend, cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。