multica-ai/multica · error
%s ID is required
Error message
%s ID is required
What it means
Error "%s ID is required" thrown in multica-ai/multica.
Source
Thrown at server/internal/daemon/daemon.go:8454
return "", err
}
agentSegment, err := validateReasonixStateSegment("agent", agentID)
if err != nil {
return "", err
}
path := filepath.Join(profileDir, "dsh-sessions", runtimeSegment, agentSegment)
if err := os.MkdirAll(path, 0o700); err != nil {
return "", err
}
if err := os.Chmod(path, 0o700); err != nil {
return "", err
}
return path, nil
}
func validateReasonixStateSegment(name, value string) (string, error) {
if value == "" {
return "", fmt.Errorf("%s ID is required", name)
}
for _, r := range value {
switch {
case r >= 'a' && r <= 'z', r >= 'A' && r <= 'Z', r >= '0' && r <= '9', r == '-', r == '_':
continue
default:
return "", fmt.Errorf("%s ID contains an unsafe path character", name)
}
}
return value, nil
}
// codexShellAuthorizedCustomEnvNames returns names from the current agent's
// custom_env that pass the same daemon blocklist used when assembling the child
// environment. Returning names only keeps credential values out of the managed
// Codex config path.
func codexShellAuthorizedCustomEnvNames(customEnv map[string]string) []string {
names := make([]string, 0, len(customEnv))View on GitHub (pinned to 2c0912b6ec)
Solutions
- Provide the required ID.
When it happens
Trigger: Thrown at server/internal/daemon/daemon.go:8454 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/acf08cd6de6a20d8.
Report an issue: GitHub.