AWS Lambda: Process exited before completing request

The message "Process exited before completing request" means that the function exited before calling context.done (or context.succeed, etc.).

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
Severity: CRITICAL
Error message: Process exited before completing request

Why do I see this?

One of your functions either didn’t call context.done or context.succeed when it finished.

What does this mean?

You have to tell Lambda that your function has been completed by calling the right context methods.

How do I fix “AWS Lambda: Process exited before completing requesterror?

Check if you have calls to context.done or context.succeed in your code and that they can be reached. If this is the case, check if your function has run out of memory (this is evident from the REPORT line)

For a detailed read on why this happens and how to solve it step by step, read our Debugging with Dashbird: AWS Lambda Process Exited Before Completing Request article.

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.