Troubleshooting

Fix failed runs, stuck runs, tool connection errors, missing credits, expired sign-ins and permission errors.

On this page

This page is for anyone whose workflow did not do what they expected. Find your symptom below, follow the steps, and use the table at the end if you still need help.

Before you start

Have these ready: the workflow name, the run you are looking at, and the time it happened. You can find runs in Command Center and in Workflow Studio.

If a page says Page not found, the link does not match a screen in your workspace. Use Back to overview. Some screens have a different address than their sidebar name: Runs is at /operate.

A white page with the text Page not found, the line That URL does not match any screen in this workspace, and a Back to overview button
The Page not found screen

A run failed

Find the cause

  1. Open Command Center. Runs that need attention appear under Needs you (approvals) and Issues today (the last 24 hours). The Stopped with errors list shows failed runs.
  2. Click the failed run to open it.
  3. Find the step marked Failed. Read its error message. This is the step that caused the failure.

You should see: one step marked Failed, and other steps marked Completed, Cancelled or Skipped.

What the step labels mean

When one step fails, the whole run fails. The other steps explain what happened around it.

LabelMeaningWhat to do
FailedThis step caused the failureFix the cause (model, credential, tool settings or workflow)
CancelledIt was running at the same time when the run failedNothing. It is part of the record.
SkippedIt never started because a step before it failedNothing. It will run on a new run once the earlier step works.
CompletedIt finished before the failureIts output is available for you to inspect

Common failure reasons

When a step fails, the run fails with that step's error message. Open the run's Events tab and read the failed step's error.

Failed stepWhat to check
mcp (tool)The tool's inputs, the connection, and whether the outside service is up. A tool call is cut off after 120 seconds.
llmYour provider account on Connections (switched on for models) and the model name
agentThe agent's model and tools. If it reached its tool call limit, see Agents.
human"human_task timed out" means nobody answered in time. See Human tasks.
luaThe script's own error, or an error("...") it raised. See Lua scripts.

Some failures also carry a code, shown for support and API users:

CodeWhat it meansWhat to do
INSUFFICIENT_CREDITSThe run could not start: the workspace has too few creditsAdd credits. See Billing and credits.
WORKER_LOSTThe worker running a tool, workflow or Cursor Cloud step stopped responding, and the step was not run again because it may already have had an effectCheck whether the step acted, then start a new run. See How runs execute.
EPISODE_STALLEDThe agents in an agentic workflow stopped making progressGive the agents clearer instructions or inputs
EPISODE_TURN_LIMITThe agents used all their turns without finishingSee Limits
EPISODE_NO_ENTRYNo agent step could start the agentic workflowGrant entry to a step when you start the run, or turn off Require entry grant on one step
UPSTREAM_ERROR, DEPENDENCY_UNAVAILABLEThe Console could not reach the workflow serviceTry again in a few minutes. Contact support if it keeps happening.

Try again after fixing

A failed run cannot be resumed. Fix the cause, publish a new version if you changed the workflow, and start a new run. Resuming from the failed step is planned but not available yet. See Run recovery.

A run seems stuck

What you seeWhat it usually meansWhat to do
PausedSomeone paused it, or an approval step is waitingClick Resume, or approve the task in Command Center
Waiting for approvalA human step is waiting for a personThis is normal. Approve or reject it.
A step stays RunningA slow tool or AI callCheck the outside service. Stop the run if needed.
Queued or Starting for a long timeThe run has not begunCheck that you have credits and that Dry-run shows no errors

A run that is waiting for a person is working as designed. It is not stuck.

A tool step fails or "not connected"

  1. Check the connector

    Go to MCP, open the connector, and open Instance config. Confirm it is linked to a connection and that the connection is active. The Validate page for the connector (/mcp/<server>/validate) can also check it.

  2. Check the connection

    Go to Connections. If the connection needs signing in again, click Reconnect (for example on a Google account).

  3. Dry-run the workflow

    In Workflow Studio, click Dry-run. Each problem is listed on its step as a Dry-run error or Dry-run warning. See Dry-run.

Connector guides: Google Workspace, WhatsApp, Gmail, Postgres.

After you reconnect or change credentials, old failed runs are not fixed. Start a new run.

You are out of credits

  1. Go to Billing → Usage and look at Credits remaining.
  2. Look at Usage history, and at Analytics, to see which workflows use the most.
  3. Go to Billing → Overview and click Add credits, or change plan under Plans. You need the workspace admin role (tenant_admin) or billing write access.

There are two kinds of credit, model credits and platform credits, and a balance in one does not pay for the other. Inside each kind, credits are used in this order: trial, then plan, then top-up. See Plans and credits. For card, payment and plan problems, see Billing troubleshooting.

A connection says Reconnect

This usually means a login expired or was revoked at the service (Google, LinkedIn and others).

  1. Open Connections, open the account, and click Reconnect.
  2. Check the connectors that use it in MCP.
  3. For Google Workspace, ask your Google admin whether third-party apps are allowed.

API errors

ErrorLikely causeWhat to do
401Missing, expired or revoked credentialsSend Authorization: Bearer <key>. Sign in again, or create a new API key in Settings → API keys.
403Your project role or the key's scopes are too narrowYou need Contributor to change things. Billing changes need a workspace admin. Add scopes such as workflow:run or mcp:execute to the key.
400 X-Tenant-Id requiredThe workspace could not be worked outSend the X-Tenant-Id header, and X-Project-Id where needed

See API authentication and Roles and permissions.

Template values look wrong

If a field shows a literal {{ ... }} in a run, or a variable is missing, clear the field and pick the variable again from the suggestions. Click Dry-run to check step references. See Template intellisense.

Still stuck?

Email support@agentruntime.io with:

  • the workflow name and run
  • the error message or failure reason
  • the step that failed
  • the time it happened

Next steps

Edit this pageagentruntime-io/agentruntime-docs