- Newest
- Most votes
- Most comments
Hello,
FailedInvocations metric indicates that there is an issue in invoking the target. It represents a permanent failure and might be the result of incorrect permissions or a misconfiguration of the target (lambda). Since the rule is not able to invoke the target, please check and confirm that the Lambda function has the appropriate permissions in its resource-based policy.
Additionally, you can also add Amazon SQS dead-letter queue as the target for the event rule. EventBridge uses Amazon Simple Queue Service (Amazon SQS) DLQs to store events that couldn't be delivered to a target. Attach an Amazon SQS DLQ to the target reporting FailedInvocations. Retrieve the events from the DLQ for analysis and to obtain more context on the issue.
Please refer to the following article that outlines detailed steps to troubleshoot the issue.
[+] Why wasn't my Lambda function triggered by my EventBridge rule?
Article: https://repost.aws/knowledge-center/eventbridge-lambda-not-triggered
Video: https://youtu.be/95F3Fam4h3E?si=m5OUpJbMktSa4g65
[+] My rule ran but my Lambda function wasn't invoked
For detailed investigation, we would need to check the resources and the permissions in your account. If you still have queries regarding this, I would request you to reach out to our support team by opening a support case with all the resource details, and we will investigate the issue further.
Let me know if you have any further queries. Thank you for your interest in re:Post community.
Best Regards, Ashish
References:
- How can I troubleshoot issues with Amazon EventBridge rules?
https://repost.aws/knowledge-center/eventbridge-rules-troubleshoot
- Troubleshooting Amazon EventBridge -
https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-troubleshooting.html
Relevant content
- Accepted Answerasked a month ago
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 8 months ago
- Why can't I view the EventBridge trigger in my Lambda function that my CloudFormation stack created?AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 8 months ago
Hi, I have a DLQ which neither is invoked and I have the Lambda tested with neccesary permissions. It is invoked once in a while by the event rule. So the issue seems totally strange for me. NO DLQ messages when I poll the queue, no cloudwatch logs for the lambd, Nothing. Totally strange.
So strange that when I attached a DLQ, its firing properly.
@IndieGameDeveloperFromParallelWorld
Is it working now as expected?