Loe inglise keeles Redigeeri

Jagamisviis:


An agent-related error code occurs when running an attended or unattended desktop flow

This article provides the mitigation steps for the agent-related error codes that occur when running attended or unattended desktop flows.

Märkus

As a first step, we recommend updating Power Automate for desktop to the latest version. If the agent-related error code persists after the upgrade, you can try the following mitigation steps to work around the issue. If the agent-related error code that you receive isn't listed in the table, contact Power Automate support.

Error codes

Error code Description Cause Mitigation steps
AgentNotReachable The agent running the desktop flow isn't reachable. This error code occurs when the Power Automate service running on your machine can no longer communicate with the agent in the user session executing your flow. It's typically caused by suboptimal machine performance, such as high CPU usage, and might temporarily block the communication between the service and the agent. For more information about all the prerequisites and limitations you should consider before installing and using Power Automate on your desktop, see Prerequisites and limitations.
UnresponsiveAgent The agent running the desktop flow isn't responsive. This error code occurs when the Power Automate service running on your machine can no longer communicate with the agent in the user session executing your flow. It's typically caused by suboptimal machine performance, such as high CPU usage, and might temporarily block the communication between the service and the agent. For more information about all the prerequisites and limitations you should consider before installing and using Power Automate on your desktop, see Prerequisites and limitations.
AgentHasNotStarted Power Automate can create a session to run the desktop flow but can't start the agent inside the session. Verify that the machine has sufficient compute and memory resources.

For more information about all the prerequisites and limitations you should consider before installing and using Power Automate on your desktop, see Prerequisites and limitations.
GatewayTimeout It's a general technical error code. Contact Power Automate support.

How to increase the time-out the Power Automate service uses to communicate with the agent

To increase the agent time-out in the registry:

  1. Press Win+R to open the Run dialog. Type regedit and press Enter to open the Registry Editor.
  2. Navigate to the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Power Automate Desktop\Service registry.
  3. Add a new DWORD (32-bit) and name it AgentPingTimeoutSeconds. Select the Decimal radio button, double-click the new value, and enter a desired value (the suggested value is 30) in the Value data field.
  4. Restart the Power Automate service. In Task Manager, select the Services tab, right-click UIFlowService in the list, and then select Restart.