# Incident mode

Each code of this family: what it means, its most frequent cause, what to do and who can do it.

[All error codes](https://www.azothos.ai/docs/errors)

### `incident_not_found`

- **What it means**: This incident does not exist in this workspace.
- **Most frequent cause**: A link from another workspace, or an incident id typed by hand.
- **What to do**: This incident does not exist in this workspace.
- **Who can do it**: Any member of the workspace

### `incident_closed`

- **What it means**: This incident is closed and takes no more actions.
- **Most frequent cause**: It was closed once its review was complete.
- **What to do**: This incident is closed: it takes no more actions.
- **Who can do it**: Any member of the workspace

### `related_incident_not_found`

- **What it means**: The related incident named does not exist in this workspace.
- **Most frequent cause**: An id from another workspace, or a typo.
- **What to do**: The related incident does not exist in this workspace.
- **Who can do it**: Any member of the workspace

### `scope_not_enforceable`

- **What it means**: The scope of the incident names nothing the gateway can block.
- **Most frequent cause**: A scope with no model, rule, agent or system for the gateway to stop on.
- **What to do**: This scope names nothing the gateway can block: use the emergency stop.
- **Who can do it**: An owner or admin of the workspace

### `provider_not_found`

- **What it means**: No connected provider of this workspace has this id.
- **Most frequent cause**: A provider removed since, or an id from another workspace.
- **What to do**: No connected provider with this id in the workspace.
- **Who can do it**: Any member of the workspace

### `containment_not_found`

- **What it means**: This containment does not exist for the incident.
- **Most frequent cause**: A link from another incident, or a containment removed since.
- **What to do**: This containment does not exist for the incident.
- **Who can do it**: Any member of the workspace

### `containment_lifted`

- **What it means**: This containment was lifted already.
- **Most frequent cause**: Someone lifted it a moment ago.
- **What to do**: This containment was already lifted.
- **Who can do it**: Any member of the workspace

### `already_reviewed`

- **What it means**: This decision already has a verdict, and verdicts are final.
- **Most frequent cause**: Two reviewers on the same decision, or a second click.
- **What to do**: This decision already has a verdict; verdicts are final.
- **Who can do it**: Any member of the workspace

### `decision_not_in_incident`

- **What it means**: This decision is not among those the incident touched.
- **Most frequent cause**: A decision outside the scope of the incident.
- **What to do**: This decision is not part of the incident.
- **Who can do it**: Any member of the workspace

### `not_a_reviewer`

- **What it means**: Reviewing the decisions of an incident is for owners, admins and members.
- **Most frequent cause**: A viewer tried to give a verdict.
- **What to do**: Reviews are for owners, admins and members — ask one of them.
- **Who can do it**: Any member of the workspace

### `draft_not_found`

- **What it means**: This report draft does not exist.
- **Most frequent cause**: A link from another incident, or a draft id typed by hand.
- **What to do**: This report draft does not exist.
- **Who can do it**: Any member of the workspace

### `incident_containment`

- **What it means**: This rule contains an incident: it is lifted with the incident, never by a waiver.
- **Most frequent cause**: A waiver asked on the block rule that an incident set.
- **What to do**: This rule contains an incident: it is lifted with the incident, not by a waiver.
- **Who can do it**: An owner or admin of the workspace
