Subscribe

UiPath Robot

The UiPath Robot Guide

Message too large to process

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:

  • When the Robot is installed in User Mode with the .exe installer, 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, 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\UiPath\Studio\uipath.config.

Solution

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

Updated about a year ago


Message too large to process


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.