{"record":{"id":"895d53c6121ee13c","repo":"multica-ai/multica","slug":"name-is-required-895d53","errorCode":null,"errorMessage":"--name is required","messagePattern":"--name is required","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_property.go","lineNumber":310,"sourceCode":"\t\treturn err\n\t}\n\tproperty, err := resolvePropertyRef(properties, args[0])\n\tif err != nil {\n\t\treturn err\n\t}\n\toutput, _ := cmd.Flags().GetString(\"output\")\n\tif output == \"json\" {\n\t\treturn cli.PrintJSON(os.Stdout, property)\n\t}\n\tprintPropertyTable([]propertyDTO{property})\n\treturn nil\n}\n\nfunc runPropertyCreate(cmd *cobra.Command, _ []string) error {\n\tname, _ := cmd.Flags().GetString(\"name\")\n\tpropType, _ := cmd.Flags().GetString(\"type\")\n\tif name == \"\" {\n\t\treturn fmt.Errorf(\"--name is required\")\n\t}\n\tif propType == \"\" {\n\t\treturn fmt.Errorf(\"--type is required\")\n\t}\n\tdescription, _ := cmd.Flags().GetString(\"description\")\n\ticon, _ := cmd.Flags().GetString(\"icon\")\n\toptionFlags, _ := cmd.Flags().GetStringArray(\"option\")\n\n\tbody := map[string]any{\"name\": name, \"type\": propType, \"description\": description, \"icon\": icon}\n\tif len(optionFlags) > 0 {\n\t\tbody[\"config\"] = map[string]any{\"options\": parseOptionFlags(optionFlags, nil)}\n\t}\n\n\tclient, err := newAPIClient(cmd)\n\tif err != nil {\n\t\treturn err\n\t}\n\tctx, cancel := cli.APIContext(context.Background())","sourceCodeStart":292,"sourceCodeEnd":328,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_property.go#L292-L328","documentation":"Error \"--name is required\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/cmd/multica/cmd_property.go:310 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Pass --name with 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"}