rancher/rancher · error
unsupported filter operator %q for attribute %q: only %s all
Error message
unsupported filter operator %q for attribute %q: only %s allowed
What it means
Error "unsupported filter operator %q for attribute %q: only %s allowed" thrown in rancher/rancher.
Source
Thrown at pkg/auth/providers/scim/filter.go:199
if !slices.ContainsFunc(allowedAttributes, func(a string) bool {
return strings.EqualFold(f.Attribute, a)
}) {
return fmt.Errorf("unsupported filter attribute %q: only %s supported",
f.Attribute, strings.Join(allowedAttributes, ", "))
}
// Check operator.
for _, allowed := range allowedOperators {
if f.Operator == allowed {
return nil
}
}
allowedStrs := make([]string, len(allowedOperators))
for i, op := range allowedOperators {
allowedStrs[i] = string(op)
}
return fmt.Errorf("unsupported filter operator %q for attribute %q: only %s allowed",
f.Operator, f.Attribute, strings.Join(allowedStrs, ", "))
}
// tokenize splits the filter string into tokens: attribute, operator, [value].
// Handles quoted values with escaped quotes inside.
func tokenize(filter string) ([]string, error) {
var tokens []string
var current strings.Builder
inQuotes := false
escapeNext := false
for i := 0; i < len(filter); i++ {
c := filter[i]
if escapeNext {
current.WriteByte(c)
escapeNext = false
continueView on GitHub (pinned to 932558d4e6)
When it happens
Trigger: Thrown at pkg/auth/providers/scim/filter.go:199 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of rancher/rancher@932558d4e6 (2026-08-16).
Data as JSON: /api/errors/663394f7d0d1ae57.
Report an issue: GitHub.