Cannot create Lambda function

0

I login go to Services -> Compute -> Lambda and then instantly get a "UnknownError" notification.

If I go to the Lambda Dashboard then click Create Function button, fill out my settings (trying Python 3.11) then click create function and get error "UnknownError" again!

How do I find out what UnknownError is? Has this error been coded like this to make me pay for support?

Does anyone know how to create a simple Lambda function without getting "UnknownError" ?

EDIT: I am logging in as an admin IAM user & also tried as root, both have the same issue.

Thank you.

JustDan
asked 8 months ago635 views
1 Answer
2

I'd start isolating this issue by following steps:

  • Go to cloudtrail console and see if this failed attempt is being logged in cloudtrail and what's the error if logged. Attaching snapshot for your reference to search create lambda function APIs.

Enter image description here

  • Try to create lambda function through CLI. Refer AWS CLI Command Reference for same.

  • Also, I understand that you are not able to create lambda function, can you try too list functions through CLI as below. I would do so, just to make sure this is not a console issue as there might be lambda function already created it's just console is not rendering appropriately:

     aws lambda list-functions
    

If none of these works, certainly there is something specific to your AWS account and you may need to reach out to AWS Support. If this account is recently created, you may want to give it sometime to get this error auto resolved.

Additional Reference:

If you are not familiar with AWS CLI, here is the Configure the AWS CLI.

Hope this helps.

Comment here how it goes, happy to assist.

Abhishek

profile pictureAWS
EXPERT
answered 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago
  • Do you have any additional questions?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions