Skip to content

Lambda function, clicking "Test" does nothing today but has worked for months

0

Hi re:Post,

I've been manually running this lambda function, "Lambda-Function-RDS-Snapshot-Management", for months with issue.

This morning when I click, "Test", to execute - nothing happens. I've refreshed, logged out and back in, cleared browser cache.

Nothing.

Enter image description here Enter image description here

Please advise!

Thank you for your time and help.

Best Regards,

Donald

asked 10 months ago274 views

3 Answers
1

Is this the first time you are testing the lambda function, if so, can you please check if you have created the test event and while testing that test event payload is being used.

AWS
EXPERT

answered 10 months ago

  • Hi secondabhi_aws, Thank you for your comment and help! Not the first time, it's been running for awhile -- >" I've been manually running this lambda function, "Lambda-Function-RDS-Snapshot-Management", for months with issue."

    "check if you have created the test event and while testing that test event payload is being used." Yes with "TestEventLambdaSnap" and it's JSON is blank " {

    } " This has worked for about 2 months, it's run everyday. As recent as yesterday without issue.

  • Thanks for clarifying. Looks like something related to UI/console, can you please try invoking the lambda through CLI using CloudShell and let me know what you see. Here is the lambda invoke command synopsis

1

Hi Donald,

Here are a few concrete next steps that can help pinpoint why the Test button shows no response:

  1. Check your browser’s Developer Tools (Console/Network) for errors Open Developer Tools → Console/Network, click Test, and see if any JavaScript or HTTP errors appear. If errors show up, the Lambda console UI likely failed to load part of its components.

  2. Check CloudTrail to confirm whether the Invoke API was called Go to CloudTrail → Event history, filter by:

    • Event name: Invoke or InvokeFunction
    • Time: the moment you clicked Test If no Invoke event appears, the console UI never sent the request.
  3. Check CloudWatch Logs for a new invocation Go to CloudWatch Logs → /aws/lambda/<function-name> and look for a new log stream at the time of the test.

    • CloudTrail shows Invoke but CloudWatch has no logs → function error or permission issue
    • Both show nothing → the UI did not trigger execution
  4. As another data point, you can also check whether the same behavior occurs when logging in with a different IAM user or role. If a different IAM identity shows the same “no response” behavior, the issue is very likely isolated to the console UI rather than your specific user session.

Koji

answered 10 months ago

  • Hi Koji! Apologies for my late reply!
    Thank you for these troubleshooting steps and information! It seems when I turned off the "AI Suggestions" tool that would appear when interacting/reviewing the lambda's python code in the "Code Source" edit box for "lambda_function.py". May just have been a coincidence too but I'll keep these in mind in case the issue pops up again. Best Regards, Donald

0

This issue where clicking "Test" on your Lambda function doesn't trigger any action is something that other AWS users have experienced as well. There are several potential causes and solutions to explore:

  1. Region Check: First, verify you're in the correct AWS region where your Lambda function was created. Lambda functions are region-specific, so if you're viewing a different region, your function might not appear or respond correctly.

  2. Browser/Device Issue: Try accessing your Lambda function from a different browser or device to rule out any local issues. Sometimes clearing cache and cookies isn't enough to resolve browser-related problems.

  3. Console UI Issue: There might be a temporary issue with the AWS Lambda console interface. This can sometimes happen and prevent the test button from working properly.

  4. Permissions: Even though you've been able to run this function before, check if there have been any recent changes to your IAM permissions that might affect your ability to execute Lambda functions.

  5. Service Health: Check the AWS Service Health Dashboard to see if there are any ongoing issues or outages with Lambda in your region.

If the issue persists after trying these steps, the most effective solution would be to contact AWS Support. You can open a case under the "Account and billing" category, which can be done free of charge. AWS Support can investigate account-specific issues that might be causing this problem with your Lambda console.

In the meantime, you could try alternative methods to invoke your function, such as using the AWS CLI or AWS SDK if your workflow allows for it.
Sources
Not able to see my lambda functions | AWS re:Post
Root User - Lambda Functions are Gone! | AWS re:Post

answered 10 months ago

  • Update: I tried via "Edge" browser, same result. I started a ticket with AWS, "176304116400803". Can a human review what the AI support bot posted above please?

    It seem incredible that there is no error message or anything after clicking "Test" at lambda functions, "Code Source" screen.

    Best Regards, Donald

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.