aws / aws/serverless-java-container

AwsProxyResponse class is generating response JSON which is rejected by API gateway with Malformed error

未关闭
#884 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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

贡献指南

打开贡献指南

调研方向

Start by locating the AwsProxyResponse class and inspect how it serializes its response JSON for API Gateway. Verify the generated field name against the issue’s expectation, and consider the work complete when the response uses isBase64Encoded instead of base64Encoded and avoids the reported Malformed error.

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, java
领域
api, cloud
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。