aws / aws/serverless-java-container

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

Open
#884 3 comments 0 reactions 0 assignees View on GitHub
need feedback
Dominant language
Java
Stars
1.6k
Forks
574
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
api, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.