error saying ""errorMessage": "Unable to import module 'MyFirst'""

0 votes

I'm trying to run my first Lambda application and I end up with the following error:

"errorMessage": "Unable to import module 'MyFirst'"
Jul 2, 2019 in AWS by Ganesh
686 views

1 answer to this question.

0 votes
I had the exact same error. Make sure your filename and the filename in your handler name(filename.lambda_handler) is the same.(filename.lambda_handler)
answered Jul 2, 2019 by Travis

Related Questions In AWS

0 votes
1 answer

Unable to import module 'lambda_function': No module named lambda_function

Hi@akhtar, This error appears when you haven’t named ...READ MORE

answered Apr 28 in AWS by MD
• 56,020 points
5,216 views
+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+2 votes
3 answers
+1 vote
2 answers

How to install Python MySQLdb module using pip?

It's easy to do, but hard to ...READ MORE

answered Aug 1, 2018 in AWS by Priyaj
• 57,640 points
3,222 views