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
demandé il y a 9 mois670 vues
1 réponse
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
répondu il y a 9 mois
profile pictureAWS
EXPERT
vérifié il y a 9 mois
  • Do you have any additional questions?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions