Wrong explanation/identifier #32067
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
documentation
This is a problem with documentation.
effort/small
Small work item – less than a day of effort
p3
Describe the issue
Wrong text/identifier/field. At the end of the page:
If you received a 5xx error from API Gateway, it is likely one of two issues:
The response your function returned is not what API Gateway expects. Go back and make sure your handler returns a response that includes a statusCode, body and header fields
it has to be headers, not header. The name of the response object field is headers. I had 502 and error spent some time for that issue :)
Links
https://catalog.us-east-1.prod.workshops.aws/event/dashboard/en-US/workshop/2000-typescript-workshop/300-create-hello-cdk-app/340-apigw
The text was updated successfully, but these errors were encountered: