multica-ai/multica · error
get autopilot: %w
Error message
get autopilot: %w
What it means
Error "get autopilot: %w" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_autopilot.go:241
}
func runAutopilotGet(cmd *cobra.Command, args []string) error {
client, err := newAPIClient(cmd)
if err != nil {
return err
}
ctx, cancel := cli.APIContext(context.Background())
defer cancel()
autopilotRef, err := resolveAutopilotID(ctx, client, args[0])
if err != nil {
return fmt.Errorf("resolve autopilot: %w", err)
}
var resp map[string]any
if err := client.GetJSON(ctx, "/api/autopilots/"+autopilotRef.ID, &resp); err != nil {
return fmt.Errorf("get autopilot: %w", err)
}
output, _ := cmd.Flags().GetString("output")
if output == "json" {
return cli.PrintJSON(os.Stdout, resp)
}
ap, _ := resp["autopilot"].(map[string]any)
actors := loadActorDisplayLookup(ctx, client)
headers := []string{"ID", "TITLE", "STATUS", "MODE", "ASSIGNEE", "LAST_RUN"}
rows := [][]string{{
strVal(ap, "id"),
strVal(ap, "title"),
strVal(ap, "status"),
strVal(ap, "execution_mode"),
actors.agent(strVal(ap, "assignee_id")),
strVal(ap, "last_run_at"),
}}View on GitHub (pinned to 2c0912b6ec)
Solutions
- Check server connectivity and that the autopilot still exists.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_autopilot.go:241 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/f8ee4d7b8ded3928.
Report an issue: GitHub.