aws / aws/serverless-java-container
AwsProxyResponse class is generating response JSON which is rejected by API gateway with Malformed error
オープン
need feedback
- 主要言語
- Java
- スター
- 1.6k
- フォーク
- 574
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
We are calling java lambda from api gateway and in cloudwatch logs i can see internal server error is coming,
After going through the logs and support team i got to know that AwsProxyResponse class is generating response JSON which is rejected by API gateway with Malformed error
Json generated is using field name base64Encoded instead of isBase64Encoded
コントリビューションガイド
調査の方向性
まず AwsProxyResponse クラスを見つけ、API Gateway 用のレスポンス JSON をどのようにシリアライズしているかを確認します。生成されたフィールド名を issue の期待値と照合し、レスポンスが base64Encoded ではなく isBase64Encoded を使用し、報告された Malformed エラーを回避できれば作業完了とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, java
- 領域
- api, cloud
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100