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.
calcSalaries
function has also timed out a few times. As before, click on the timed out issue for calcSalaries
and see the timed out invocations.Timeline
tab to see what happened.