---
title: Fix missing data errors
slug: fix-missing-data-errors
description: Understand what causes missing data errors and how to handle them
image: https://archbee-image-uploads.s3.amazonaws.com/oAyFj2GHlBeBVWF5OAir2/Ze2KoIIH96Vcu0RW2162b_11.png
docTags: 
createdAt: 2025-02-03T13:29:15.598Z
---

App modules output the `BundleValidationError` when the input bundle is missing the required data. For example, if you map data from a search module that didn't return any results.

When a module in your scenario outputs the `BundleValidationError`, you should check the reason for the error. You should consider redesigning your scenario if you can avoid the error to make your automation more robust. You can use the [`if`](docId\:pMt2j3NdX4B4BP51gXk6T) or [`ifempty`](docId\:pMt2j3NdX4B4BP51gXk6T) functions or use [Filtering](docId\:TOeIVU0dBv44bMRjCMliC).

Otherwise, you will have to handle the error to keep your scenario active.

In the following examples, we will consider two situations:

1. Ignore the missing data or use a placeholder.
2. The missing data are not a problem. You just want to keep your scenario enabled.
3. Get notified about errors and store the scenario run.
4. The missing data are not acceptable. If you get the `BundleValidationError`, you want to check what happened in detail.

To learn more about how to approach error handling in Make you can check the [Overview of error handling](docId\:sN7McE4QmL-Q6wDTOOcSy).

## Ignore the missing data or use a placeholder

You might work with data that sometimes contains missing values. You don't need to fix them or investigate why they are missing. Your main goal is to avoid disabling your scenario.

We will use the following scenario for testing:

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/wX4WSbHjXr2iItcN9-mIO_uuid-b8cc239f-82b1-d822-29c3-d6023d500362.png)

The scenario reads data, modifies it, and uses it for a search in the data store. One piece of data is empty, which causes the `BundleValidationError` in the search module.

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/AopklPJxy4sSAt6veYlSu_uuid-1a7a1e56-3c3e-874c-2387-23e4e8e93af6.png)

To keep your scenario running even when the error happens, you can use the [Skip error handler](docId\:j9XCttcBfDwq3q3u144FN) or [Resume error handler](docId:7xRuGbeY0uTl58ucpwp7v).

1. Right-click the module that is causing the error.
2. Select **Add an error handler**.
3. A pop-up appears. From the list of error handlers, select the **Skip** error handler.

The final scenario should look like this:

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/uXRce8A7eFoMNB7ykv5fn_uuid-50c22ca4-d87e-a9f2-0c0c-f2370c71a587.png)

:::hint{type="info"}
Ignore error handler in the above image has been renamed to **Skip**.
:::

## Get notified about errors and store the Make run

There might be scenarios you want to check closely when an error happens. You can do that with a custom error handling setup. If an error occurs in your scenario, you get an email with the error description and a link to the scenario. In addition, you store the error bundle as incomplete execution to resolve it manually.

We will use the following scenario for testing:

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/wX4WSbHjXr2iItcN9-mIO_uuid-b8cc239f-82b1-d822-29c3-d6023d500362.png)

The scenario reads data, modifies them and uses them for search in the data store. One piece of data is empty, which causes the `BundleValidationError` in the search module.

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/AopklPJxy4sSAt6veYlSu_uuid-1a7a1e56-3c3e-874c-2387-23e4e8e93af6.png)

To store unfinished scenario runs and get a custom email notification when an error occurs, follow these steps:

1. Right-click the module that is causing the error.
2. Select **Add an error handler**.
3. A pop-up appears. From the list of error handlers, select the **Retry** error handler.
4. A pop-up appears with the **Retry** error handler settings. Set automatic completion to **No** to always resolve the error manually. Confirm the settings with the **OK** button. To learn more about the **Retry** error handler settings, see the [Retry error handler](docId\:cPTWi8yI45ZL3M5slzjNV) topic.&#x20;
5. Click the scenario settings icon and enable storing of incomplete executions.

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/JITv5bFhH08k053Dq2pdC-20260204-150539.png" size="50" width="720" height="1392" position="center" darkWidth="720" darkHeight="1392" showCaption="false" indent="2"}

6. Right-click the connection between the erroring module and the **Retry** error handler. Choose **Add a module**. Make inserts a gray module placeholder between the erroring module and the **Retry** error handler.
7. Click the gray module placeholder and search for the **Gmail** app. Insert the **Send an email** module into the module placeholder.
8. Set up the **Send an email** module. In the **Content** field, add the notification message you want to receive when an error happens. Use the Make [system variables](docId:5UJ3-0KGuD4jwffMxAm-9) to get the metadata. For example:

::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/czenG-shi1mvFkpbrgkDO_uuid-3a13b84f-81a1-07ce-c61c-d8b30baec274.png" size="64" width="884" height="974" position="center" darkWidth="884" darkHeight="974" showCaption="false" indent="2"}

You set up error handling in your scenario to create an incomplete execution and notify you with an email when an error happens.

The example scenario with error handling looks like this:

![](https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/Tr6S71di4lCLllhUshdt6_uuid-3616c054-88b2-38b5-a085-37448ce75729.png)

:::hint{type="info"}
Break error handler in the above image has been renamed to **Retry**.
:::

