Closed mashiike closed 4 years ago
There is a case where the execution of Lambda function fails and the Task of Step Functions becomes Success. When I contacted AWS Support, it seems that it is because the error handling method described in the document is different.
ref https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html#runtimes-api-invokeerror Corrected error handling to match the above documentation. Specifically added missing headers.
background
There is a case where the execution of Lambda function fails and the Task of Step Functions becomes Success. When I contacted AWS Support, it seems that it is because the error handling method described in the document is different.
Content
ref https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html#runtimes-api-invokeerror Corrected error handling to match the above documentation. Specifically added missing headers.