流故障排除Troubleshooting a flow

识别错误Identify the error

在修复流故障之前,必须确定流故障的原因。Before you can fix a flow, you must identify why it failed. 单击或点击 Web 门户顶部的通知图标(或打开移动应用中的“活动”选项卡),然后单击或点击列表中显示的流。Click or tap the notifications icon at the top of the web portal (or open the Activity tab in the mobile app), and then click or tap your flow in the list that appears.

通知

将会显示流的详细信息,至少一个步骤会显示红色叹号图标。Details about the flow appear, and at least one step shows a red exclamation icon. 打开该步骤,查看错误消息。Open that step, and review the error message.

错误消息

身份验证故障Authentication failures

在许多情况下,流故障的原因是身份验证错误。In many cases, flows fail because of an authentication error. 如果属于此类错误,则错误消息会包含“未授权”,或者会显示错误代码 401403If you have this type of error, the error message contains Unauthorized or an error code of 401 or 403 appears. 通常可以通过更新连接来修复身份验证错误:You can usually fix an authentication error by updating the connection:

  1. 在 Web 门户顶部,单击或点击齿轮图标打开“设置”菜单,然后单击或点击“连接”。At the top of the web portal, click or tap the gear icon to open the Settings menu, and then click or tap Connections.

  2. 滚动到你看到“未授权”错误消息的连接。Scroll to the connection for which you saw the Unauthorized error message.

  3. 在连接旁边,单击或点击关于连接未进行身份验证的消息中的“验证密码”链接。Next to the connection, click or tap the Verify password link in the message about the connection not being authenticated.

  4. 按照显示的说明验证凭据,返回到流运行故障处,然后单击或点击“重新提交”。Verify your credentials by following the instructions that appear, return to your flow-run failure, and then click or tap Resubmit.

    流现在应正常运行。The flow should now run as expected.

操作配置Action configuration

如果流操作中的设置无法正常运行,流也会发生故障。Flows also fail if a setting in an action of the flow doesn't function as expected. 在这种情况下,错误消息会包含“请求错误”或“找不到”,或者会显示错误代码 400404In this case, the error message contains Bad request or Not found, or an error code of 400 or 404 appears.

错误消息会指定如何纠正故障。The error message should specify how to correct the failure. 需单击或点击“编辑”按钮,然后更正流定义内的问题。You'll need to click or tap the Edit button and then correct the problem inside the flow definition. 保存更新的流,然后单击或点击“重新提交”,尝试再次使用更新的配置运行。Save the updated flow, and then click or tap Resubmit to try the run again with the updated configuration.

其他故障Other failures

如果显示错误代码 500502,则表明故障是临时的或暂时的。If the error code 500 or 502 appears, the failure is temporary or transient. 单击或点击“重新提交”,再次尝试该流。Click or tap Resubmit to try the flow again.

如果遇到其他问题,请咨询我们的社区,因为其他人可能遇到过类似的问题。If you encounter some other problem, please ask our community because others may have encountered a similar problem.