Reading an XML file: Could not retrieve the result of the job execution. This might be because a message was too large to process

I need some help.
The only focus of the error is an activity, the Read Text File reading an xml file. I made sure I inserted the file’s path and the string variable to copy the output correctly.

The xml file is a Specially Designated Nationals (SDN) List, were it contains list of individuals and groups, such as terrorists and narcotics traffickers. The file has about more than a million lines and the file size is about 45,682 KB.

The error and exception is: “Could not retrieve the result of the job execution. This might be because a message was too large to process”.

Is the file size the reason why the activity can’t read it? Is there another activity I can use to be able to read the xml file?

Hi @Jossell

Welcome to our UiPath Forum!

Please see this topic, it contains some clues that might be helpful:

Please also see other similar topics here.

Thanks!