{"record":{"id":"fa9ed47588a611fd","repo":"multica-ai/multica","slug":"update-runtime-profile-w","errorCode":null,"errorMessage":"update runtime profile: %w","messagePattern":"update runtime profile: %w","errorType":"error_code","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_runtime_profile.go","lineNumber":250,"sourceCode":"\t\treturn fmt.Errorf(\"no fields to update: pass at least one of --display-name, --command-name, --description, --enabled\")\n\t}\n\n\tclient, err := newAPIClient(cmd)\n\tif err != nil {\n\t\treturn err\n\t}\n\tworkspaceID, err := requireWorkspaceID(cmd)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tctx, cancel := cli.APIContext(context.Background())\n\tdefer cancel()\n\n\tpath := runtimeProfilesPath(workspaceID) + \"/\" + profileID\n\tvar profile map[string]any\n\tif err := client.PatchJSON(ctx, path, body, &profile); err != nil {\n\t\treturn fmt.Errorf(\"update runtime profile: %w\", err)\n\t}\n\treturn outputRuntimeProfile(cmd, profile)\n}\n\nfunc runRuntimeProfileDelete(cmd *cobra.Command, args []string) error {\n\tprofileID := args[0]\n\n\tclient, err := newAPIClient(cmd)\n\tif err != nil {\n\t\treturn err\n\t}\n\tworkspaceID, err := requireWorkspaceID(cmd)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tctx, cancel := cli.APIContext(context.Background())\n\tdefer cancel()","sourceCodeStart":232,"sourceCodeEnd":268,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_runtime_profile.go#L232-L268","documentation":"Error \"update runtime profile: %w\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/cmd/multica/cmd_runtime_profile.go:250 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the server response for details and retry the update."],"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"}