multica-ai/multica · error
icon must be a supported icon key
Error message
icon must be a supported icon key
What it means
Error "icon must be a supported icon key" thrown in multica-ai/multica.
Source
Thrown at server/internal/handler/property.go:216
}
return name, nil
}
func validatePropertyIcon(raw string) (string, error) {
for _, r := range raw {
if unicode.IsControl(r) {
return "", errors.New("icon cannot contain tabs, newlines, or control characters")
}
}
icon := strings.TrimSpace(raw)
if utf8.RuneCountInString(icon) > maxPropertyIconLen {
return "", fmt.Errorf("icon must be %d characters or fewer", maxPropertyIconLen)
}
if icon == "" {
return "", nil
}
if _, ok := validPropertyIcons[icon]; !ok {
return "", errors.New("icon must be a supported icon key")
}
return icon, nil
}
func validatePropertyType(t string) error {
for _, v := range validPropertyTypes {
if t == v {
return nil
}
}
return fmt.Errorf("invalid type %q; valid types: %s", t, strings.Join(validPropertyTypes, ", "))
}
func propertyTypeHasOptions(t string) bool {
return t == "select" || t == "multi_select"
}
// validatePropertyConfig canonicalizes the config for storage. Select-typeView on GitHub (pinned to 2c0912b6ec)
Solutions
- Use one of the supported icon keys; list valid keys via the property API.
When it happens
Trigger: Thrown at server/internal/handler/property.go:216 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/a2a049091df11fcc.
Report an issue: GitHub.