skip to Main Content

AWS C++ Lambda – segmentation fault

I have successfully installed an AWS CLI on WSL. In addition I did follow these instructions: https://aws.amazon.com/blogs/compute/introducing-the-c-lambda-runtime/ Now, the first example works and when I run a testcase all is functioning properly and the test succeeds. However, when I run…

VIEW QUESTION

Getting {"errorMessage": "'httpMethod'", "errorType": "KeyError"

Using Lambda function to Get and post request. While testing it gives error {"errorMessage": "'httpMethod'", "errorType": "KeyError", "requestId": "435e6811-acc5-4bc7-b009-377bc6178bb8", "stackTrace": [" File "/var/task/lambda_function.py", line 11, in lambda_handlern if event['httpMethod'] == 'GET':n"]} : dynamodb = boto3.resource('dynamodb') table = dynamodb.Table('ApigatewayDynamo') def lambda_handler(event,…

VIEW QUESTION
Back To Top
Search