Open leeonieep opened 11 months ago
Hi there,
I've tested this scenario on Linux & Windows machines and I was able to successfully invoke the function (I've set the runtime to dotnet6 btw). I will re-try with M1 Mac and see if I can re-produce this issue.
Hi there,
We've tried on M1 Mac but we weren't able to re-produce this problem. But, looking at another issue (https://github.com/aws/aws-sam-cli/issues/6102), it seems like Docker might not be able to complete its latest update successfully. So I would recommend doing a clean/re-install of the docker and re-try from scratch.
Description:
Re-raising this issue Bug: Sam local invoke fails when no response #5766 https://github.com/aws/aws-sam-cli/issues/5766 As it is occurring for the latest version of aws-sam-cli v 1.98.0
When calling sam local invoke on a lambda that does not return a response the call fails. This is now only in 1.98, earlier versions work.
Steps to reproduce:
Create a simple lambda that does not return a result.
Run sam build and sam local invoke.
Observed result:
Error during call.
Expected result:
Calling the lambda completes successfully and no error occurs.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Add --debug flag to command you are running