You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Parser with Lambda Function URL I should be able to parse requests that have a valid body that is not encoded as a JSON string. For example, when the body is a plain string or when it's a binary (& the isBase64Encoded field is true).
Current Behavior
Unless the body field is a JSON string, the parsing fails.
Expected Behavior
When using Parser with Lambda Function URL I should be able to parse requests that have a valid body that is not encoded as a JSON string. For example, when the body is a plain string or when it's a binary (& the
isBase64Encoded
field istrue
).Current Behavior
Unless the
body
field is a JSON string, the parsing fails.Code snippet
Steps to Reproduce
For binary requests:
For raw string requests, use the same code as above, but change the
body
in thebuildHttpRequest
function to just"hello world"
or any string.Possible Solution
No response
Powertools for AWS Lambda (TypeScript) version
latest
AWS Lambda function runtime
20.x
Packaging format used
npm
Execution logs
The text was updated successfully, but these errors were encountered: