multica-ai/multica · error

workspace ID is required to resolve assignees; use --workspa

Error message

workspace ID is required to resolve assignees; use --workspace-id or set MULTICA_WORKSPACE_ID

What it means

Error "workspace ID is required to resolve assignees; use --workspace-id or set MULTICA_WORKSPACE_ID" thrown in multica-ai/multica.

Source

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

	}
	if k.squad {
		parts = append(parts, "squad")
	}
	switch len(parts) {
	case 0:
		return "<none>"
	case 1:
		return parts[0]
	case 2:
		return parts[0] + " or " + parts[1]
	default:
		return strings.Join(parts[:len(parts)-1], ", ") + ", or " + parts[len(parts)-1]
	}
}

func resolveAssignee(ctx context.Context, client *cli.APIClient, name string, kinds assigneeKinds) (string, string, error) {
	if client.WorkspaceID == "" {
		return "", "", fmt.Errorf("workspace ID is required to resolve assignees; use --workspace-id or set MULTICA_WORKSPACE_ID")
	}

	input := normalizeAssigneeLookupInput(name)
	if input == "" {
		return "", "", fmt.Errorf("no %s found matching %q", kinds.describe(), name)
	}
	inputLower := strings.ToLower(input)

	// Matches are collected into three priority buckets. Higher-priority buckets
	// short-circuit lower-priority matching so that, e.g., an exact name match
	// always wins over a substring collision with another candidate.
	//   1. idMatches        — full UUID or 8-char ShortID (as shown by `truncateID`).
	//   2. exactMatches     — case-insensitive full name equality.
	//   3. substringMatches — preserves the existing partial-name UX.
	var idMatches, exactMatches, substringMatches []assigneeMatch
	var errs []error
	var fetchAttempts int

View on GitHub (pinned to 2c0912b6ec)

Solutions

  1. Use --workspace-id or set MULTICA_WORKSPACE_ID.

When it happens

Trigger: Thrown at server/cmd/multica/cmd_issue.go:2565 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/36df4cbc49fde3d9. Report an issue: GitHub.