{"record":{"id":"f68568b5b4ca4aba","repo":"siyuan-note/siyuan","slug":"attribute-view-group-s-not-found","errorCode":null,"errorMessage":"attribute view group [%s] not found","messagePattern":"attribute view group \\[(.+?)\\] not found","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"kernel/model/attribute_view_render.go","lineNumber":293,"sourceCode":"\tviewable, attrView, err := RenderAttributeView(blockID, avID, viewID, query, 1, math.MaxInt, nil, false, false)\n\tif nil != err {\n\t\treturn nil, nil, err\n\t}\n\n\ttable, ok := viewable.(*av.Table)\n\tif !ok {\n\t\treturn nil, nil, fmt.Errorf(\"attribute view [%s] is not a table\", avID)\n\t}\n\tif \"\" != groupID {\n\t\tvar groupTable *av.Table\n\t\tfor _, group := range table.Groups {\n\t\t\tif group.GetID() == groupID {\n\t\t\t\tgroupTable, _ = group.(*av.Table)\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t\tif nil == groupTable {\n\t\t\treturn nil, nil, fmt.Errorf(\"attribute view group [%s] not found\", groupID)\n\t\t}\n\t\ttable = groupTable\n\t}\n\n\trows, err := getAttributeViewPasteRowsFromTable(table, startItemID, count)\n\tif nil != err {\n\t\treturn nil, nil, err\n\t}\n\ttable.Rows = rows\n\treturn table, getPasteInferableAttributeViewKeyIDs(attrView, getDependentRollupKeyIDs(attrView.ID)), nil\n}\n\nfunc getPasteInferableAttributeViewKeyIDs(attrView *av.AttributeView, dependentRollupKeyIDs map[string]struct{}) (ret []string) {\n\tunsafeKeyIDs := dependentRollupKeyIDs\n\tif nil == unsafeKeyIDs {\n\t\tunsafeKeyIDs = map[string]struct{}{}\n\t}\n\tfor _, itemTemplate := range attrView.NewItemTemplates {","sourceCodeStart":275,"sourceCodeEnd":311,"githubUrl":"https://github.com/siyuan-note/siyuan/blob/251596fc0de2f9528c00c224252fd073a99973f4/kernel/model/attribute_view_render.go#L275-L311","documentation":"Error \"attribute view group [%s] not found\" thrown in siyuan-note/siyuan.","triggerScenarios":"Operating on a kanban/gallery group that no longer exists after the grouping configuration changed.","commonSituations":"Occurs when the client requests a group that no longer exists after the grouping field or its options changed.","solutions":["Verify the group ID belongs to the attribute view; groups change when grouping fields or values change.","Reload the view to get current group IDs and retry."],"exampleFix":"Re-fetch the attribute view data via /api/av/renderAttributeView and use a group id from the fresh response.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"251596fc0de2f9528c00c224252fd073a99973f4","analyzedAt":"2026-08-12T21:18:37.123Z","schemaVersion":2},"datasetVersion":"2026-08-12T23:17:12.415Z"}