{"record":{"id":"bafd60b05109dffe","repo":"langchain-ai/langgraph","slug":"root-label-for-namespace-cannot-be-langgraph-go","errorCode":null,"errorMessage":"Root label for namespace cannot be \"langgraph\". Got: {namespace}","messagePattern":"Root label for namespace cannot be \"langgraph\"\\. Got: (.+?)","errorType":"validation","errorClass":"InvalidNamespaceError","httpStatus":null,"severity":"error","filePath":"libs/checkpoint/langgraph/checkpoint/store/base/__init__.py","lineNumber":1281,"sourceCode":"    if namespace[0] == \"langgraph\":\n        raise InvalidNamespaceError(\n            f'Root label for namespace cannot be \"langgraph\". Got: {namespace}'\n        )","sourceCodeStart":null,"sourceCodeEnd":null,"githubUrl":"https://github.com/langchain-ai/langgraph/blob/38031739e551638e373fb553453256c23feeb41f/libs/checkpoint/langgraph/checkpoint/store/base/__init__.py#L1281","documentation":"Reserved-name check at the end of _validate_namespace: the first (root) label of the namespace equals 'langgraph'. That root is reserved for LangGraph's own internal storage namespaces, so user data cannot be placed under it; the full offending namespace is echoed in the message.","triggerScenarios":"Thrown at libs/checkpoint/langgraph/checkpoint/store/base/__init__.py:1281 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Choose a different root label, e.g. ('memories', user_id) or ('chat', thread_id)","Keep application-specific roots like 'docs', 'users', 'agent' instead of 'langgraph'","If you need cross-thread agent memory, use a dedicated root such as ('agent', agent_id)"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"38031739e551638e373fb553453256c23feeb41f","analyzedAt":"2026-08-26T18:02:49.312Z","contentChangedAt":"2026-08-26T18:02:49.312Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}