{"record":{"id":"90094cac34a3205a","repo":"multica-ai/multica","slug":"property-q-not-found-available-s","errorCode":null,"errorMessage":"property %q not found; available: %s","messagePattern":"property %q not found; available: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_property.go","lineNumber":207,"sourceCode":"// resolvePropertyRef matches a CLI ref against the catalog by UUID first,\n// then case-insensitive name.\nfunc resolvePropertyRef(properties []propertyDTO, ref string) (propertyDTO, error) {\n\tfor _, p := range properties {\n\t\tif p.ID == ref {\n\t\t\treturn p, nil\n\t\t}\n\t}\n\tlower := strings.ToLower(strings.TrimSpace(ref))\n\tfor _, p := range properties {\n\t\tif strings.ToLower(p.Name) == lower {\n\t\t\treturn p, nil\n\t\t}\n\t}\n\tnames := make([]string, len(properties))\n\tfor i, p := range properties {\n\t\tnames[i] = p.Name\n\t}\n\treturn propertyDTO{}, fmt.Errorf(\"property %q not found; available: %s\", ref, strings.Join(names, \", \"))\n}\n\n// parseOptionFlags converts repeatable --option flags (\"Name\" or\n// \"Name:#rrggbb\") into config options. When updating, pass the existing\n// options so same-named options keep their ids (issue values reference ids).\nconst defaultOptionColor = \"#6b7280\"\n\nfunc parseOptionFlags(flags []string, existing []propertyOptionDTO) []map[string]string {\n\tbyName := make(map[string]string, len(existing))\n\tfor _, opt := range existing {\n\t\tbyName[strings.ToLower(opt.Name)] = opt.ID\n\t}\n\tout := make([]map[string]string, 0, len(flags))\n\tfor _, raw := range flags {\n\t\tname := raw\n\t\tcolor := defaultOptionColor\n\t\tif idx := strings.LastIndex(raw, \":#\"); idx > 0 {\n\t\t\tname = raw[:idx]","sourceCodeStart":189,"sourceCodeEnd":225,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_property.go#L189-L225","documentation":"Error \"property %q not found; available: %s\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/cmd/multica/cmd_property.go:207 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the property name spelling; the available properties are listed in the message."],"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"}