siyuan-note/siyuan · error
attribute view group [%s] not found
Error message
attribute view group [%s] not found
What it means
Error "attribute view group [%s] not found" thrown in siyuan-note/siyuan.
Source
Thrown at kernel/model/attribute_view_render.go:293
viewable, attrView, err := RenderAttributeView(blockID, avID, viewID, query, 1, math.MaxInt, nil, false, false)
if nil != err {
return nil, nil, err
}
table, ok := viewable.(*av.Table)
if !ok {
return nil, nil, fmt.Errorf("attribute view [%s] is not a table", avID)
}
if "" != groupID {
var groupTable *av.Table
for _, group := range table.Groups {
if group.GetID() == groupID {
groupTable, _ = group.(*av.Table)
break
}
}
if nil == groupTable {
return nil, nil, fmt.Errorf("attribute view group [%s] not found", groupID)
}
table = groupTable
}
rows, err := getAttributeViewPasteRowsFromTable(table, startItemID, count)
if nil != err {
return nil, nil, err
}
table.Rows = rows
return table, getPasteInferableAttributeViewKeyIDs(attrView, getDependentRollupKeyIDs(attrView.ID)), nil
}
func getPasteInferableAttributeViewKeyIDs(attrView *av.AttributeView, dependentRollupKeyIDs map[string]struct{}) (ret []string) {
unsafeKeyIDs := dependentRollupKeyIDs
if nil == unsafeKeyIDs {
unsafeKeyIDs = map[string]struct{}{}
}
for _, itemTemplate := range attrView.NewItemTemplates {View on GitHub (pinned to 251596fc0d)
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.
Example fix
Re-fetch the attribute view data via /api/av/renderAttributeView and use a group id from the fresh response.
When it happens
Trigger: Operating on a kanban/gallery group that no longer exists after the grouping configuration changed.
Common situations: Occurs when the client requests a group that no longer exists after the grouping field or its options changed.
AI-assisted analysis of siyuan-note/siyuan@251596fc0d (2026-08-12).
Data as JSON: /api/errors/f68568b5b4ca4aba.
Report an issue: GitHub.