Asynchronous Lambda functions (such as those handling background tasks via SNS topics, EventBridge buses or SQS queues) are often tricky to debug because their failures are silent. These failures can go unnoticed for months or even years! The problems they cause would often manifest in unpredictable ways that makes it difficult to trace the symptoms to the original errors.
So let’s take a moment to see how we can troubleshoot timeouts for these asynchronous Lambda functions.
calcSalariesfunction has also timed out a few times. As before, click on the timed out issue for
calcSalariesand see the timed out invocations.
Timelinetab to see what happened.