getmoto/moto

Error in server/standalone mode

Closed this issue · 2 comments

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"

Hi @tumkurrunner, can you share a fully reproducible example?

Does your code run successfully against AWS?

Sorted now it was problem with my python version 3.6