> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# exceptions

# `prefect.server.exceptions`

## Classes

### `ObjectNotFoundError` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/exceptions.py#L4](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/exceptions.py#L4)</sup>

Error raised by the Prefect REST API when a requested object is not found.

If thrown during a request, this exception will be caught and
a 404 response will be returned.

### `OrchestrationError` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/exceptions.py#L13](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/exceptions.py#L13)</sup>

An error raised while orchestrating a state transition

### `MissingVariableError` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/exceptions.py#L17](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/exceptions.py#L17)</sup>

An error raised by the Prefect REST API when attempting to create or update a
deployment with missing required variables.

### `FlowRunGraphTooLarge` <sup>[https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/exceptions.py#L23](https://github.com/PrefectHQ/prefect/blob/main/src/prefect/server/exceptions.py#L23)</sup>

Raised to indicate that a flow run's graph has more nodes that the configured
maximum
