# Disconnecting the last active agent risks lockout

> Canonical HTML: https://screenrig.ai/problems/agent-lockout-risk/

HTTP 409 · `agent_lockout_risk`

## What it means

The API answers with HTTP 409 Conflict and an `application/problem+json` document when the condition is Disconnecting the last active agent risks lockout. The document's `type` member is `https://screenrig.ai/problems/agent-lockout-risk`, the address of this page, and its `code` member is `agent_lockout_risk`.

## What to do

This is the project's last active agent. Disconnect only if the user confirms, with the explicit override (screenrig agent disconnect --yes --allow-lockout).

## Player action

This problem defines no Player action class. It belongs to a project, pairing or account flow that an agent or the dashboard drives.

## Reference

| Field | Value |
| --- | --- |
| Code | `agent_lockout_risk` |
| HTTP status | `409 Conflict` |
| Type | `https://screenrig.ai/problems/agent-lockout-risk` |
| Player action | `none` |

- [All problem types](https://screenrig.ai/problems/)
- [API reference](https://screenrig.ai/docs/api/#problems)
- [Problem registry YAML](https://screenrig.ai/docs/api/problems.yaml)
