Bug: sam local invoke on dotnet minimal api throws NullReferenceException in runtime container #7875
Labels
stage/needs-investigation
Requires a deeper investigation
stage/needs-triage
Automatically applied to new issues and PRs, indicating they haven't been looked at.
Description:
We have a dotnet minimal api demo.
sam deploy
works, which could be invoked from AWS cloud.sam local start-api
also works.However,
sam local invoke
would throw an error.Steps to reproduce:
sam build
sam invoke local
Observed result:
sam local invoke
output:sam local invoke --debug
output:Expected result:
Should return some json array.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
The text was updated successfully, but these errors were encountered: