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

# ApprovalMismatch

> The presented approval does not authorize this action (SPEC-v0.1 §4.2).

`ctrlrun.ApprovalMismatch` — class, defined at `src/ctrlrun/errors.py:111`

```python theme={null}
from ctrlrun import ApprovalMismatch
```

```python theme={null}
class ApprovalMismatch(CTRLRunError)
    def __init__(message: str | None = None, *, reason: str, approval_id: str | None = None)
```

The presented approval does not authorize this action (SPEC-v0.1 §4.2).

`reason` is one of `unknown`, `mismatch`, or the status the record was in — `consumed`,
`expired`, `pending`, `denied`.

## Next

* [Python API index](/docs/reference/api/index).
* [Get started](/docs/get-started/quickstart) · [Why](/docs/why).


## Related topics

- [Errors](/docs/reference/errors.md)
- [Try it in your browser](/docs/try-it.md)
- [LangGraph with interrupt()](/docs/cookbook/langgraph-interrupt.md)
- [Claims](/docs/CLAIMS.md)
- [Use the LangGraph adapter](/docs/guides/langgraph-adapter.md)
