{"record":{"id":"e672fb5f924a6494","repo":"langchain-ai/langgraph","slug":"thread-run-respond-interrupt-id-interrupt-id-r-e672fb","errorCode":null,"errorMessage":"thread.run.respond: interrupt_id {interrupt_id!r} does not match any outstanding interrupt in `thread.interrupts`.","messagePattern":"thread\\.run\\.respond: interrupt_id (.+?) does not match any outstanding interrupt in `thread\\.interrupts`\\.","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"libs/sdk-py/langgraph_sdk/_sync/stream.py","lineNumber":273,"sourceCode":"                raise RuntimeError(\n                    \"thread.run.respond: no outstanding interrupt. Provide an \"\n                    \"explicit `interrupt_id` or wait for `thread.interrupted`.\"\n                )\n            if len(outstanding) > 1:\n                ids = [p[\"interrupt_id\"] for p in outstanding]\n                raise RuntimeError(\n                    f\"thread.run.respond: ambiguous — {len(outstanding)} \"\n                    f\"outstanding interrupts ({ids!r}). Provide an explicit \"\n                    \"`interrupt_id`.\"\n                )\n            match = outstanding[0]\n        else:\n            match = next(\n                (p for p in outstanding if p[\"interrupt_id\"] == interrupt_id),\n                None,\n            )\n            if match is None:\n                raise RuntimeError(\n                    f\"thread.run.respond: interrupt_id {interrupt_id!r} does not \"\n                    \"match any outstanding interrupt in `thread.interrupts`.\"\n                )\n        params = {\n            \"interrupt_id\": match[\"interrupt_id\"],\n            \"namespace\": match[\"namespace\"],\n            \"response\": response,\n        }\n        return self._owner._send_command(\"input.respond\", params)\n\n\nclass _SyncValuesProjection:\n    \"\"\"Typed projection for `thread.values`.\n\n    Supports `for snapshot in thread.values` (REST snapshot then live stream\n    events) and `thread.values.get()` (delegates to `thread.output`).\n    \"\"\"\n","sourceCodeStart":255,"sourceCodeEnd":291,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/sdk-py/langgraph_sdk/_sync/stream.py#L255-L291","documentation":"Error \"thread.run.respond: interrupt_id {interrupt_id!r} does not match any outstanding interrupt in `thread.interrupts`.\" thrown in langchain-ai/langgraph.","triggerScenarios":"Thrown at libs/sdk-py/langgraph_sdk/_sync/stream.py:273 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}