Debug issue :
- First make sure that the IAM Role attached to your Lambda function has CloudWatch log write access.
- Now try to invoke the lambda function and switch to monitor tab in lambda console and click the CloudWatch log button.
- You will be redirected to the logs, open the latest log and see if there are some error logged.
- Make sure that the service that invokes the lambda function has sufficient permission.
**Maybe its region issue : **
If you are experiencing issues for Lambda service in
You can check the health status here.
**Still facing issue : **
Please contact the AWS Support team. They might be able to look into your lambda function and account to find the cause.
Start with the CloudWatch logs (check under the monitor tab in the console for a link to the logs if you don't know where they are) and check if the lambda is being triggered at all. If it is then there is an issue with the lambda and add some debug output to check in cloudwatch, if it's not then it could be a policy issue. Maybe invoke it synchronously from java and see if you have any error messages you can work with.
What calls the Lambda function? Is it tied to an API gateway? An S3 event? An EventBridge rule? Directly from a client application?
The first place I'd check is in the CloudWatch logs to see if any errors are being reported.
The second place I'd check is CloudTrail to see what happened around the time that the Lambda function stopped working. Is it possible that someone updated an IAM role or policy? Maybe a new SCP was enabled? Perhaps a NACL or security group is preventing a call from getting to your Lambda?
Lambda function is not getting invoked if I call it inside a cronjob method or in a schedulerasked 8 months ago
Getting invocation statistics for a Lambda function.asked 2 years ago
Is Lambda invocation = 0 is a guaranteed metric that proves the Lambda function was unused during the period I provide to metric?Accepted Answerasked 8 months ago
I can not invoke a Lambda function from AWS Lexasked a month ago
My Lambda function is not getting invoked all of a sudden.asked 8 months ago
Force my AWS Lambda function to use X memoryasked 4 months ago
Can't create a Lambda Functionasked 8 months ago
Nodejs lambda function unable to parse event.body getting errorsasked 3 years ago
JumpCloud Serverlesss Lambda Function timeout errorAccepted Answerasked 7 months ago