{"record":{"id":"4dda001b2965990b","repo":"multica-ai/multica","slug":"list-properties-w","errorCode":null,"errorMessage":"list properties: %w","messagePattern":"list properties: %w","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_property.go","lineNumber":184,"sourceCode":"\tissuePropertyListCmd.Flags().String(\"output\", \"table\", \"Output format: table or json\")\n\tissuePropertySetCmd.Flags().String(\"output\", \"table\", \"Output format: table or json\")\n\tissuePropertySetCmd.Flags().String(\"name\", \"\", \"Property name or UUID (required)\")\n\tissuePropertySetCmd.Flags().String(\"value\", \"\", \"Property value (required; see --help for per-type forms)\")\n\tissuePropertyUnsetCmd.Flags().String(\"output\", \"table\", \"Output format: table or json\")\n\tissuePropertyUnsetCmd.Flags().String(\"name\", \"\", \"Property name or UUID (required)\")\n\n\tissueCmd.AddCommand(issuePropertyCmd)\n}\n\n// fetchProperties loads the full definition catalog (including archived — the\n// callers that must exclude archived filter locally, and value resolution for\n// display needs archived definitions too).\nfunc fetchProperties(ctx context.Context, client *cli.APIClient) ([]propertyDTO, error) {\n\tvar result struct {\n\t\tProperties []propertyDTO `json:\"properties\"`\n\t}\n\tif err := client.GetJSON(ctx, \"/api/properties?include_archived=true\", &result); err != nil {\n\t\treturn nil, fmt.Errorf(\"list properties: %w\", err)\n\t}\n\treturn result.Properties, nil\n}\n\n// 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}","sourceCodeStart":166,"sourceCodeEnd":202,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_property.go#L166-L202","documentation":"Error \"list properties: %w\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/cmd/multica/cmd_property.go:184 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check server connectivity and retry listing properties."],"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"}