multica-ai/multica · error
no built-in shortcut for resource type %q; pass the full pay
Error message
no built-in shortcut for resource type %q; pass the full payload via --ref '<json>'
What it means
Error "no built-in shortcut for resource type %q; pass the full payload via --ref '<json>'" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_project.go:916
if mode == "" {
delete(ref, "execution_mode")
} else {
ref["execution_mode"] = mode
}
}
if v, ok := ref["local_path"].(string); !ok || v == "" {
return nil, false, fmt.Errorf("local_directory: --local-path is required (no existing local_path to merge with)")
}
if v, ok := ref["daemon_id"].(string); !ok || v == "" {
return nil, false, fmt.Errorf("local_directory: --daemon-id is required (no existing daemon_id to merge with)")
}
return ref, true, nil
default:
// Unknown type or empty (resource not found) — caller must use --ref.
if cmd.Flags().Changed("url") || cmd.Flags().Changed("default-branch-hint") ||
cmd.Flags().Changed("local-path") || cmd.Flags().Changed("daemon-id") ||
cmd.Flags().Changed("ref-label") || cmd.Flags().Changed("execution-mode") {
return nil, false, fmt.Errorf("no built-in shortcut for resource type %q; pass the full payload via --ref '<json>'", resourceType)
}
return nil, false, nil
}
}
func mustString(cmd *cobra.Command, name string) string {
v, _ := cmd.Flags().GetString(name)
return v
}
func runProjectResourceRemove(cmd *cobra.Command, args []string) error {
client, err := newAPIClient(cmd)
if err != nil {
return err
}
ctx, cancel := cli.APIContext(context.Background())
defer cancel()View on GitHub (pinned to 2c0912b6ec)
Solutions
- Pass the full payload via --ref '<json>' for this resource type.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_project.go:916 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/c804ceddc7a41c66.
Report an issue: GitHub.