multica-ai/multica · error
%s must be an absolute path
Error message
%s must be an absolute path
What it means
Error "%s must be an absolute path" thrown in multica-ai/multica.
Source
Thrown at server/internal/cli/config.go:265
}
}
if profile == "" {
if taskLocal {
return root, nil
}
return filepath.Join(root, ".multica"), nil
}
if taskLocal {
return filepath.Join(root, "profiles", profile), nil
}
return filepath.Join(root, ".multica", "profiles", profile), nil
}
func multicaConfigRoot() (root string, taskLocal bool, err error) {
if rawRoot := strings.TrimSpace(os.Getenv(TaskConfigRootEnv)); rawRoot != "" {
root := filepath.Clean(rawRoot)
if !filepath.IsAbs(root) {
return "", false, fmt.Errorf("%s must be an absolute path", TaskConfigRootEnv)
}
return root, true, nil
}
home, err := os.UserHomeDir()
if err != nil {
return "", false, err
}
return home, false, nil
}
func validateTaskLocalProfile(profile string) error {
if profile == "" {
return nil
}
if profile == "." || profile == ".." || filepath.IsAbs(profile) || strings.ContainsAny(profile, `/\\`) || filepath.Clean(profile) != profile {
return fmt.Errorf("invalid task-local Multica profile name %q", profile)
}
return nilView on GitHub (pinned to 2c0912b6ec)
Solutions
- Set the path to an absolute path.
When it happens
Trigger: Thrown at server/internal/cli/config.go:265 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/ba650b884c403703.
Report an issue: GitHub.