> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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}
class ApprovalMismatch(CTRLRunError)
    def __init__(message: str | None, reason: str, approval_id: str | 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](/reference/api/index).
* [Get started](/get-started/quickstart) · [Why](/why).


## Related topics

- [Errors](/reference/errors.md)
- [LangGraph with interrupt()](/cookbook/langgraph-interrupt.md)
- [Use the LangGraph adapter](/guides/langgraph-adapter.md)
- [Fail closed](/concepts/fail-closed.md)
- [Claims](/CLAIMS.md)
