multica-ai/multica · error

--daemon-id cannot be empty

Error message

--daemon-id cannot be empty

What it means

Error "--daemon-id cannot be empty" thrown in multica-ai/multica.

Source

Thrown at server/cmd/multica/cmd_project.go:882

			}
			if l, ok := existingRef["label"].(string); ok && strings.TrimSpace(l) != "" {
				ref["label"] = strings.TrimSpace(l)
			}
			if m, ok := existingRef["execution_mode"].(string); ok && strings.TrimSpace(m) != "" {
				ref["execution_mode"] = strings.TrimSpace(m)
			}
		}
		if pathSet {
			pathVal := strings.TrimSpace(mustString(cmd, "local-path"))
			if pathVal == "" {
				return nil, false, fmt.Errorf("--local-path cannot be empty")
			}
			ref["local_path"] = pathVal
		}
		if daemonSet {
			daemonVal := strings.TrimSpace(mustString(cmd, "daemon-id"))
			if daemonVal == "" {
				return nil, false, fmt.Errorf("--daemon-id cannot be empty")
			}
			ref["daemon_id"] = daemonVal
		}
		if labelSet {
			refLabel := strings.TrimSpace(mustString(cmd, "ref-label"))
			if refLabel == "" {
				delete(ref, "label")
			} else {
				ref["label"] = refLabel
			}
		}
		if modeSet {
			// An empty value clears the field back to the in_place default,
			// mirroring how --ref-label clears a label.
			mode := strings.TrimSpace(mustString(cmd, "execution-mode"))
			if mode == "" {
				delete(ref, "execution_mode")
			} else {

View on GitHub (pinned to 2c0912b6ec)

Solutions

  1. Provide a non-empty --daemon-id value.

When it happens

Trigger: Thrown at server/cmd/multica/cmd_project.go:882 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/cf44f18ba7ef432d. Report an issue: GitHub.