multica-ai/multica · error

update status: %w

Error message

update status: %w

What it means

Error "update status: %w" thrown in multica-ai/multica.

Source

Thrown at server/cmd/multica/cmd_issue.go:1477

	if err != nil {
		return err
	}

	ctx, cancel := cli.APIContext(context.Background())
	defer cancel()

	issueRef, err := resolveIssueRef(ctx, client, id)
	if err != nil {
		return fmt.Errorf("resolve issue: %w", err)
	}

	body := map[string]any{"status": status}
	if noStart {
		body["suppress_run"] = true
	}
	var result map[string]any
	if err := client.PutJSON(ctx, "/api/issues/"+issueRef.ID, body, &result); err != nil {
		return fmt.Errorf("update status: %w", err)
	}

	fmt.Fprintf(os.Stderr, "Issue %s status changed to %s.\n", issueDisplayKey(result), status)

	output, _ := cmd.Flags().GetString("output")
	if output == "json" {
		return cli.PrintJSON(os.Stdout, result)
	}
	return nil
}

// ---------------------------------------------------------------------------
// Reorder command
// ---------------------------------------------------------------------------

// registerIssueReorderFlags wires the reorder command's flags and declares its
// target selector as a cobra flag group: mutually exclusive so at most one of
// --before/--after/--top/--bottom is accepted, and one-required so at least one

View on GitHub (pinned to 2c0912b6ec)

Solutions

  1. Check the server response for details and retry the status update.

When it happens

Trigger: Thrown at server/cmd/multica/cmd_issue.go:1477 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15). Data as JSON: /api/errors/8e713c2d4114fd91. Report an issue: GitHub.