Robot
2022.10
false
Banner background image
Robot User Guide
Last updated Apr 3, 2024

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.ExceptionMessage: 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.
  • Observed Behavior
  • Cause
  • Solution

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.