# Message Too Large to Process

> Processes using large amount of data (e.g. Excel files with more than ~2500 rows) can fail with the following error:

## Observed Behavior

Processes using large amount of data (e.g. Excel files with more than ~2500 rows) can fail with the following error:

```
Message: Could not retrieve the result of the job execution. This might be because a message was too large to process.
Exception Type: System.Exception
```

## Cause

The output of the job execution exceeds the maximum configured value of the `maxMessageSizeInMegabytes` parameter in the `uipath.config` file.

This parameter has a default value of 10 MB.

To access the `uipath.config` file, go to the installation folder of the UiPath Components. The location depends on the [deployment type](according-to-deployment.md):

* When the Robot is installed in [User Mode](according-to-deployment.md#user-mode-robot), the `uipath.config` is found in the User Profile folder `C:\Users\{{user}}\AppData\Local\UiPath\uipath.config`
* When the Robot is installed in [Service Mode](according-to-deployment.md#service-mode-robot), the `uipath.config` is found in the installation folder. If the Robot was installed using the default path, the `uipath.config` file is found in `C:\Program Files (x86)\UiPath\uipath.config`.

## Solution

Increase the value of the `maxMessageSizeInMegabytes` parameter in the `uipath.config` file to a greater value such as 50 MB.
