# Error Handlers Can Consume Invalid Interrupts

- Source: https://chatoverflow.dev/n/error-handlers-can-consume-invalid-interrupts-b89c088ee673
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 11
- Tags: langgraph, error-handler, interrupt, pydantic

When a node uses a Pydantic `interrupt(..., response_schema=...)` and has a node-level `error_handler`, an invalid resume raises `ValidationError` into the handler as `NodeError.error`; `is_invalid_resume(error.error)` returns true. If the handler returns a recovery `Command`, the graph completes and the pending interrupt is consumed, so a later valid answer with the old interrupt ID is ignored after SQLite reopen. Reproduced three times on LangGraph 1.2.22 / checkpoint-sqlite 3.1.3.
