Is this still maintained? I'm getting this error in the DynamoDB PutItem example when testing through the API Gateway console:
Error: fork/exec /var/task/bootstrap: exec format error","errorType":"Runtime.InvalidEntrypoint"}
Full stack trace from API Gateway:
Execution log for request 59510e51-00b4-4547-8f23-f2c78853f963
Mon Oct 03 21:21:57 UTC 2022 : Starting execution for request: 59510e51-00b4-4547-8f23-f2c78853f963
Mon Oct 03 21:21:57 UTC 2022 : HTTP Method: PUT, Resource Path: /1
Mon Oct 03 21:21:57 UTC 2022 : Method request path: {id=1}
Mon Oct 03 21:21:57 UTC 2022 : Method request query string: {}
Mon Oct 03 21:21:57 UTC 2022 : Method request headers: {}
Mon Oct 03 21:21:57 UTC 2022 : Method request body before transformations: {
"test1": "value1"
}
Mon Oct 03 21:21:57 UTC 2022 : Endpoint request URI: https://lambda.us-west-2.amazonaws.com/2015-03-31/functions/arn:aws:lambda:us-west-2:125442796819:function:sam-app-PutFunction-MD0hHzsVxOTv/invocations
Mon Oct 03 21:21:57 UTC 2022 : Endpoint request headers: {X-Amz-Date=20221003T212157Z, x-amzn-apigateway-api-id=6uivcf6lpa, Accept=application/json, User-Agent=AmazonAPIGateway_6uivcf6lpa, Host=lambda.us-west-2.amazonaws.com, X-Amz-Content-Sha256=1d99691a619dabb60c0fcee08eafe8ff258ce1304ba5a13eb371c3429931e78f, X-Amzn-Trace-Id=Root=1-633b5275-28f71d9f7732b28db3977d13, x-amzn-lambda-integration-tag=59510e51-00b4-4547-8f23-f2c78853f963, Authorization=*********************************************************************************************************************************************************************************************************************************************************************************************************************************************051ad3, X-Amz-Source-Arn=arn:aws:execute-api:us-west-2:125442796819:6uivcf6lpa/test-invoke-stage/PUT/{id}, X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPX//////////wEaCXVzLXdlc3QtMiJHMEUCIDvheHA57yK2cJKj/6o6OGLAZm6yP5iL0dJxpgs3VSgSAiEA/a+m25dgLmUbiaJRTr/QpNWyt+VLhdLfpfYmTs9Ml [TRUNCATED]
Mon Oct 03 21:21:57 UTC 2022 : Endpoint request body after transformations: {"resource":"/{id}","path":"/1","httpMethod":"PUT","headers":null,"multiValueHeaders":null,"queryStringParameters":null,"multiValueQueryStringParameters":null,"pathParameters":{"id":"1"},"stageVariables":null,"requestContext":{"resourceId":"lkt395","resourcePath":"/{id}","httpMethod":"PUT","extendedRequestId":"ZcnSXE4EvHcFjGw=","requestTime":"03/Oct/2022:21:21:57 +0000","path":"/{id}","accountId":"125442796819","protocol":"HTTP/1.1","stage":"test-invoke-stage","domainPrefix":"testPrefix","requestTimeEpoch":1664832117342,"requestId":"59510e51-00b4-4547-8f23-f2c78853f963","identity":{"cognitoIdentityPoolId":null,"cognitoIdentityId":null,"apiKey":"test-invoke-api-key","principalOrgId":null,"cognitoAuthenticationType":null,"userArn":"arn:aws:sts::125442796819:assumed-role/AWSReservedSSO_AWSAdministratorAccess_7af6fb32ef239831/awsevan","apiKeyId":"test-invoke-api-key-id","userAgent":"aws-internal/3 aws-sdk-java/1.12.302 Linux/5.4.207-126.363.amzn2int.x86_64 OpenJDK_64-B [TRUNCATED]
Mon Oct 03 21:21:57 UTC 2022 : Sending request to https://lambda.us-west-2.amazonaws.com/2015-03-31/functions/arn:aws:lambda:us-west-2:125442796819:function:sam-app-PutFunction-MD0hHzsVxOTv/invocations
Mon Oct 03 21:21:57 UTC 2022 : Received response. Status: 200, Integration latency: 29 ms
Mon Oct 03 21:21:57 UTC 2022 : Endpoint response headers: {Date=Mon, 03 Oct 2022 21:21:57 GMT, Content-Type=application/json, Content-Length=162, Connection=keep-alive, x-amzn-RequestId=4218581b-57b2-48be-9f2c-29beafb5354b, X-Amz-Function-Error=Unhandled, x-amzn-Remapped-Content-Length=0, X-Amz-Executed-Version=$LATEST, X-Amzn-Trace-Id=root=1-633b5275-28f71d9f7732b28db3977d13;sampled=1}
Mon Oct 03 21:21:57 UTC 2022 : Endpoint response body before transformations: {"errorMessage":"RequestId: 4218581b-57b2-48be-9f2c-29beafb5354b Error: fork/exec /var/task/bootstrap: exec format error","errorType":"Runtime.InvalidEntrypoint"}
Mon Oct 03 21:21:57 UTC 2022 : Lambda execution failed with status 200 due to customer function error: RequestId: 4218581b-57b2-48be-9f2c-29beafb5354b Error: fork/exec /var/task/bootstrap: exec format error. Lambda request id: 4218581b-57b2-48be-9f2c-29beafb5354b
Mon Oct 03 21:21:57 UTC 2022 : Method completed with status: 502