{"record":{"id":"68968002ab38ec79","repo":"multica-ai/multica","slug":"update-status-w-689680","errorCode":null,"errorMessage":"update status: %w","messagePattern":"update status: %w","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/cmd/multica/cmd_project.go","lineNumber":513,"sourceCode":"\t}\n\n\tclient, err := newAPIClient(cmd)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\tctx, cancel := cli.APIContext(context.Background())\n\tdefer cancel()\n\n\tprojectRef, err := resolveProjectID(ctx, client, id)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"resolve project: %w\", err)\n\t}\n\n\tbody := map[string]any{\"status\": status}\n\tvar result map[string]any\n\tif err := client.PutJSON(ctx, \"/api/projects/\"+projectRef.ID, body, &result); err != nil {\n\t\treturn fmt.Errorf(\"update status: %w\", err)\n\t}\n\n\tfmt.Fprintf(os.Stderr, \"Project %s status changed to %s.\\n\", strVal(result, \"title\"), status)\n\n\toutput, _ := cmd.Flags().GetString(\"output\")\n\tif output == \"json\" {\n\t\treturn cli.PrintJSON(os.Stdout, result)\n\t}\n\treturn nil\n}\n\n// ---------------------------------------------------------------------------\n// Project resource commands\n// ---------------------------------------------------------------------------\n\nfunc runProjectResourceList(cmd *cobra.Command, args []string) error {\n\tclient, err := newAPIClient(cmd)\n\tif err != nil {","sourceCodeStart":495,"sourceCodeEnd":531,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/cmd/multica/cmd_project.go#L495-L531","documentation":"Error \"update status: %w\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/cmd/multica/cmd_project.go:513 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the server response for details and retry the status 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"}