{"record":{"id":"06593340cea3f411","repo":"multica-ai/multica","slug":"name-cannot-contain-tabs-newlines-or-control-cha-065933","errorCode":null,"errorMessage":"name cannot contain tabs, newlines, or control characters","messagePattern":"name cannot contain tabs, newlines, or control characters","errorType":"validation","errorClass":null,"httpStatus":400,"severity":"error","filePath":"server/internal/handler/property.go","lineNumber":186,"sourceCode":"\tName        *string         `json:\"name\"`\n\tDescription *string         `json:\"description\"`\n\tIcon        *string         `json:\"icon\"`\n\tConfig      *PropertyConfig `json:\"config\"`\n\tArchived    *bool           `json:\"archived\"`\n}\n\n// ---------------------------------------------------------------------------\n// Validation\n// ---------------------------------------------------------------------------\n\nfunc normalizePropertyName(name string) string {\n\treturn strings.ReplaceAll(strings.ToLower(strings.TrimSpace(name)), \" \", \"_\")\n}\n\nfunc validatePropertyName(raw string) (string, error) {\n\tfor _, r := range raw {\n\t\tif unicode.IsControl(r) {\n\t\t\treturn \"\", errors.New(\"name cannot contain tabs, newlines, or control characters\")\n\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) {","sourceCodeStart":168,"sourceCodeEnd":204,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/handler/property.go#L168-L204","documentation":"Error \"name cannot contain tabs, newlines, or control characters\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/handler/property.go:186 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove tabs, newlines, and control characters from the property name."],"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"}