> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.tester.army/llms.txt.
> For full documentation content, see https://docs.tester.army/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.tester.army/_mcp/server.

# Run Troubleshooting

Use this page when a test run stops, times out, or fails before producing a clear product issue.

## `completed` with `FAILED`

The agent finished the run and found a product, configuration, or test-step issue. Open the run details, review failed steps, screenshots, and reported issues.

## `failed`

The worker or runtime failed before normal completion. Common causes include provider capacity, browser/device startup failures, AI provider interruptions, or invalid run setup.

## Provider session unavailable

Browser and device providers can temporarily run out of capacity. Retry the run after a short wait.

## Run timeout

If a run times out:

1. Retry once to rule out transient slowness.
2. Split long tests into smaller flows.
3. Make steps more specific so the agent has less ambiguity.
4. Check whether the target environment is slow or unavailable.

## Step tool limit exhausted

`STEP_TOOL_LIMIT_EXHAUSTED` means one test step required too many agent actions before it could finish. This usually happens when a step combines multiple workflows or assertions.

Split broad steps into smaller focused steps with one intent each.

Instead of:

"Log in, create a project, invite a teammate, run a test, and verify the result."

Use:

1. Log in.
2. Create a project.
3. Invite a teammate.
4. Run a test.
5. Verify the result.

## UI target not found

If a failed step says the agent could not find a UI target:

1. Confirm the element exists in the target environment.
2. Update the step with clearer user-visible labels.
3. Check whether the page requires auth or setup before that step.

## Wrong target URL

Tests use the run target URL when provided, otherwise the project URL. For PR and staging runs, confirm the webhook, deployment, or dashboard trigger points to the expected URL.

## Agent step error codes

API responses can include `steps[].errorCode` on failed steps. These codes are machine-readable setup, configuration, or runtime hints; the dashboard uses them to show a suggested fix and documentation link.

| Code                          | Meaning                                                                                     | Suggested fix                                                            |
| ----------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| `AUTH_CREDENTIAL_UNAVAILABLE` | The step needed login/OAuth/provider credentials that were not available to the run.        | Select or add the project credential required by the login step.         |
| `AUTH_CREDENTIAL_INVALID`     | The target app rejected the provided credential, such as an incorrect username or password. | Confirm the credential works, update the project credential, then retry. |
| `AUTH_BASIC_REQUIRED`         | The target site is blocked by HTTP Basic Auth before the app loads.                         | Add HTTP Basic Auth credentials in site protection settings.             |
| `VERCEL_BYPASS_REQUIRED`      | Vercel deployment protection is blocking the preview URL.                                   | Add a Protection Bypass for Automation token for the project.            |
| `VIEWPORT_RESIZE_UNSUPPORTED` | The step asked the agent to resize the browser, page, screen, window, or viewport mid-run.  | Configure the viewport in [test settings](/run/viewport-size).           |
| `STEP_TOOL_LIMIT_EXHAUSTED`   | One step required too many agent actions before it could finish.                            | Split the broad step into smaller focused steps.                         |

If `errorCode` is absent, use the failed step `error` or `summary` as the source of truth.