{"record":{"id":"24959f5b47c32ea5","repo":"multica-ai/multica","slug":"icon-cannot-contain-tabs-newlines-or-control-cha","errorCode":null,"errorMessage":"icon cannot contain tabs, newlines, or control characters","messagePattern":"icon cannot contain tabs, newlines, or control characters","errorType":"validation","errorClass":null,"httpStatus":400,"severity":"error","filePath":"server/internal/handler/property.go","lineNumber":205,"sourceCode":"\t\t}\n\t}\n\tname := strings.TrimSpace(raw)\n\tif name == \"\" {\n\t\treturn \"\", errors.New(\"name is required\")\n\t}\n\tif utf8.RuneCountInString(name) > maxPropertyNameLen {\n\t\treturn \"\", fmt.Errorf(\"name must be %d characters or fewer\", maxPropertyNameLen)\n\t}\n\tif _, reserved := reservedPropertyNames[normalizePropertyName(name)]; reserved {\n\t\treturn \"\", fmt.Errorf(\"%q is reserved for a built-in issue field\", name)\n\t}\n\treturn name, nil\n}\n\nfunc validatePropertyIcon(raw string) (string, error) {\n\tfor _, r := range raw {\n\t\tif unicode.IsControl(r) {\n\t\t\treturn \"\", errors.New(\"icon cannot contain tabs, newlines, or control characters\")\n\t\t}\n\t}\n\ticon := strings.TrimSpace(raw)\n\tif utf8.RuneCountInString(icon) > maxPropertyIconLen {\n\t\treturn \"\", fmt.Errorf(\"icon must be %d characters or fewer\", maxPropertyIconLen)\n\t}\n\tif icon == \"\" {\n\t\treturn \"\", nil\n\t}\n\tif _, ok := validPropertyIcons[icon]; !ok {\n\t\treturn \"\", errors.New(\"icon must be a supported icon key\")\n\t}\n\treturn icon, nil\n}\n\nfunc validatePropertyType(t string) error {\n\tfor _, v := range validPropertyTypes {\n\t\tif t == v {","sourceCodeStart":187,"sourceCodeEnd":223,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/handler/property.go#L187-L223","documentation":"Error \"icon cannot contain tabs, newlines, or control characters\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/handler/property.go:205 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove tabs, newlines, and control characters from the icon value."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2c0912b6ec764b373d44eeea1e80f0d9f11ab417","analyzedAt":"2026-08-15T13:25:18.241Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}