{"record":{"id":"f012c5d91737fcca","repo":"HKUDS/DeepTutor","slug":"notebook-not-found","errorCode":null,"errorMessage":"Notebook not found","messagePattern":"Notebook not found","errorType":"http","errorClass":"HTTPException","httpStatus":404,"severity":"error","filePath":"deeptutor/api/routers/notebook.py","lineNumber":256,"sourceCode":"    except Exception as e:\n        raise HTTPException(status_code=500, detail=str(e))\n\n\n@router.get(\"/{notebook_id}\")\nasync def get_notebook(notebook_id: str):\n    \"\"\"\n    Get notebook details\n\n    Args:\n        notebook_id: Notebook ID\n\n    Returns:\n        Notebook details (includes all records)\n    \"\"\"\n    try:\n        notebook = notebook_manager.get_notebook(notebook_id)\n        if not notebook:\n            raise HTTPException(status_code=404, detail=\"Notebook not found\")\n        return notebook\n    except HTTPException:\n        raise\n    except NotebookCorruptedError as exc:\n        raise _unreadable(exc)\n    except Exception as e:\n        raise HTTPException(status_code=500, detail=str(e))\n\n\n@router.put(\"/{notebook_id}\")\nasync def update_notebook(notebook_id: str, request: UpdateNotebookRequest):\n    \"\"\"\n    Update notebook information\n\n    Args:\n        notebook_id: Notebook ID\n        request: Update request\n","sourceCodeStart":238,"sourceCodeEnd":274,"githubUrl":"https://github.com/HKUDS/DeepTutor/blob/3e82f130422a813cdd73c10b21a44e9325f5821a/deeptutor/api/routers/notebook.py#L238-L274","documentation":"Error \"Notebook not found\" thrown in HKUDS/DeepTutor.","triggerScenarios":"Thrown at deeptutor/api/routers/notebook.py:256 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":"3e82f130422a813cdd73c10b21a44e9325f5821a","analyzedAt":"2026-08-27T06:57:25.364Z","schemaVersion":2},"datasetVersion":"2026-08-27T08:17:20.692Z"}