机器人
2021.10
False
横幅背景图像
机器人用户指南
上次更新日期 2023年10月25日

邮件太大,无法处理

观察到的行为

使用大量数据的流程(例如,具有约 2500 行以上的 Excel 文件)可能会因以下错误而失败:

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

原因

作业执行的输出超过了 uipath.config 文件中 maxMessageSizeInMegabytes 参数的最大配置值。

此参数的默认值为 10 MB。

要访问 uipath.config 文件,请转到 UiPath 组件的安装文件夹。其位置取决于部署类型
  • 使用 .exe 安装程序在用户模式下安装机器人时,uipath.config 位于“用户配置文件”文件夹 C:\Users\{{user}}\AppData\Local\UiPath\uipath.config
  • 服务模式下安装机器人时,uipath.config 位于安装文件夹中。如果使用默认路径安装机器人,则 uipath.config 文件位于 C:\Program Files\UiPath\Studio\uipath.config 中。

解决方案

uipath.config 文件中的 maxMessageSizeInMegabytes 参数的值增加到更大的值,例如 50 MB。
  • 观察到的行为
  • 原因
  • 解决方案

此页面是否有帮助?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath 白色徽标
信任与安全
© 2005-2024 UiPath. All rights reserved.