Error in server/standalone mode
Closed this issue · 2 comments
tumkurrunner commented
Lambda invoke error for Java 17 runtime.
Steps:
Error: entrypoint requires the handler name to be the first argument
export MOTO_DOCKER_LAMBDA_IMAGE="amazon/aws-lambda-java"
then started moto-server -H 0.0.0.0
Created a lambda function using aws lambda create-function.. and then invoked using aws lambda invoke which results in error " entrypoint requires the handler name to be the first argument"
bblommers commented
Hi @tumkurrunner, can you share a fully reproducible example?
Does your code run successfully against AWS?
tumkurrunner commented
Sorted now it was problem with my python version 3.6