{"record":{"id":"24e957a76713aad9","repo":"run-llama/llama_index","slug":"invalid-parser-name-parser-name","errorCode":null,"errorMessage":"Invalid parser name: {parser_name}","messagePattern":"Invalid parser name: (.+?)","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"llama-index-core/llama_index/core/node_parser/loading.py","lineNumber":41,"sourceCode":"    HierarchicalNodeParser.class_name(): HierarchicalNodeParser,\n    CodeSplitter.class_name(): CodeSplitter,\n    SentenceSplitter.class_name(): SentenceSplitter,\n    TokenTextSplitter.class_name(): TokenTextSplitter,\n    SentenceWindowNodeParser.class_name(): SentenceWindowNodeParser,\n}\n\n\ndef load_parser(\n    data: dict,\n) -> NodeParser:\n    if isinstance(data, NodeParser):\n        return data\n    parser_name = data.get(\"class_name\")\n    if parser_name is None:\n        raise ValueError(\"Parser loading requires a class_name\")\n\n    if parser_name not in all_node_parsers:\n        raise ValueError(f\"Invalid parser name: {parser_name}\")\n    else:\n        return all_node_parsers[parser_name].from_dict(data)\n","sourceCodeStart":23,"sourceCodeEnd":44,"githubUrl":"https://github.com/run-llama/llama_index/blob/afd0fef371831f9bda13e5af7167cf4e981278ab/llama-index-core/llama_index/core/node_parser/loading.py#L23-L44","documentation":"Error \"Invalid parser name: {parser_name}\" thrown in run-llama/llama_index.","triggerScenarios":"Thrown at llama-index-core/llama_index/core/node_parser/loading.py:41 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a registered node parser class name.","Check the available parser names in llama_index.core.node_parser and correct the name."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"afd0fef371831f9bda13e5af7167cf4e981278ab","analyzedAt":"2026-08-15T05:42:58.429Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}