{"record":{"id":"13944ce73c907edd","repo":"Tencent/WeKnora","slug":"no-schema-info-found","errorCode":null,"errorMessage":"no schema info found","messagePattern":"no schema info found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/agent/tools/data_schema.go","lineNumber":123,"sourceCode":"\t\t\tSuccess: false,\n\t\t\tError:   fmt.Sprintf(\"Failed to list chunks for knowledge ID '%s': %v\", input.KnowledgeID, err),\n\t\t}, err\n\t}\n\n\tvar summaryContent, columnContent string\n\tfor _, chunk := range chunks {\n\t\tif chunk.ChunkType == types.ChunkTypeTableSummary {\n\t\t\tsummaryContent = chunk.Content\n\t\t} else if chunk.ChunkType == types.ChunkTypeTableColumn {\n\t\t\tcolumnContent = chunk.Content\n\t\t}\n\t}\n\n\tif summaryContent == \"\" || columnContent == \"\" {\n\t\treturn &types.ToolResult{\n\t\t\tSuccess: false,\n\t\t\tError:   fmt.Sprintf(\"No table schema information found for knowledge ID '%s'\", input.KnowledgeID),\n\t\t}, fmt.Errorf(\"no schema info found\")\n\t}\n\n\toutput := fmt.Sprintf(\"%s\\n\\n%s\", summaryContent, columnContent)\n\n\treturn &types.ToolResult{\n\t\tSuccess: true,\n\t\tOutput:  output,\n\t\tData: map[string]interface{}{\n\t\t\t\"summary\": summaryContent,\n\t\t\t\"columns\": columnContent,\n\t\t},\n\t}, nil\n}\n","sourceCodeStart":105,"sourceCodeEnd":137,"githubUrl":"https://github.com/Tencent/WeKnora/blob/988cbb03305e055d8ebb7d46d9ac6cc0803cd074/internal/agent/tools/data_schema.go#L105-L137","documentation":"DataSchema tool iterated the knowledge's chunks but never found both required schema chunk types (table summary and table column): the knowledge was ingested without table-structure extraction, so there is no stored schema to report and the tool aborts with a failure result.","triggerScenarios":"Thrown at internal/agent/tools/data_schema.go:123 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Re-ingest the source file with table parsing enabled so TableSummary/TableColumn chunks are produced","Confirm the uploaded file actually contains a parseable table","Check chunk listing succeeded and chunks were not filtered by enabled flag"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"988cbb03305e055d8ebb7d46d9ac6cc0803cd074","analyzedAt":"2026-09-02T14:41:08.344Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}