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, theuipath.config
is found in the User Profile folderC:\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, theuipath.config
file is found inC:\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