Lambda function has a high error percentage

Why do I see this? More than 5% of one of your function’s invocations are failing. What does this mean? You have some kind of bug in your code that crashes the Lambda runtime. If the error percentage rises but doesn’t go up to 100%, this can be a data-related bug. This event can be […]

Dashbird continuously monitors and analyses your serverless applications to ensure reliability, cost and performance optimisation and alignment with the Well Architected Framework.

Product Features Start Free Trial

Why do I see this?

More than 5% of one of your function’s invocations are failing.

What does this mean?

You have some kind of bug in your code that crashes the Lambda runtime. If the error percentage rises but doesn’t go up to 100%, this can be a data-related bug.

This event can be used to check if a new function version performs as expected. If the error percentage goes up after an update, you should roll back to a previous version before fixing the bug.

How do I fix “Lambda function has a high error percentage”?

If the percentage rises to 100%, you usually have some syntax or typing bug, like accessing undefined attributes of the event object or such.

When the percentage never goes up to 100%, the bug is usually to input your function data. This can mean the event data or data you fetch additionally inside the function. It’s about inputs that aren’t the same 100% of the time. 

To fix this, you have to find out what data was present in your function when an invocation failed.


This rule resolution is part of the Dashbird Serverless Well Architected Reports tool for AWS. Dashbird features a collection of rules and checks continuously applied to your infrastructure, surfacing ways to improve it.

Catch errors and inefficiencies in Lambda and learn the best practice rules for AWS Lambda.

Industry leader in serverless monitoring

Dashbird is a monitoring, debugging and intelligence platform designed to help serverless developers build, operate, improve, and scale their modern cloud applications on AWS environment securely and with ease.