This is not an issue with code. I would like to learn why SAM is not passing payload to lambda. I have added launch configurations for both SubmitApplicationFunction and FlagApplicationFunction in Cloud9 as shown below.
Running SubmitApplicationFunction launch configuration works as expected passing the payload to lambda, however running FlagApplicationFunction launch configuration does not pass payload to lambda.
Both functions work when running with aws lambda invoke
Any ideas on what I may be doing wrong here?
Thanks.
This is not an issue with code. I would like to learn why SAM is not passing payload to lambda. I have added launch configurations for both SubmitApplicationFunction and FlagApplicationFunction in Cloud9 as shown below.
Running SubmitApplicationFunction launch configuration works as expected passing the payload to lambda, however running FlagApplicationFunction launch configuration does not pass payload to lambda.
Both functions work when running with aws lambda invoke
Any ideas on what I may be doing wrong here? Thanks.