Geetha Mosali
03/12/2026, 1:30 AMgd clone (GoodData Analytics CLI v0.23.0).
Here’s the error I’m getting:
[e] Command failed with error
[e] Error: Reference type is not supported. Item: undefined
at t.newError (\AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:600842)
at u (\AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:573987)
at k (\AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:493729)
at w (\AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:492332)
at \AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:491735
at Array.forEach (<anonymous>)
at P (\AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:491715)
at \AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:501389
at t.declarativeVisualisationToYaml (\AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:501743)
at \AppData\Roaming\npm\node_modules\@gooddata\code-cli\out\index.js:14:515780 {
type: 'ReferenceTypeNotSupported',
code: 'core.referenceTypeNotSupported'
}
One more thing - I’m able to clone child workspaces, but the cloned result only includes the metrics/visuals/dashboards created directly in that child workspace. It doesn’t include any metrics or datasets coming from the master workspace.
Could you please help me understand what might be going wrong here?
Thanks!
Geethakapa.ai
03/12/2026, 1:30 AMReferenceTypeNotSupported error in gd clone
This error has been seen before when cloning a workspace: it indicates that some dashboard or visualization is using a component/layout/visualization type that the current CLI version does not yet support. Updating the CLI to the latest version resolved it in that case. [CLI docs; Similar error]
What to do:
1. Upgrade the CLI globally to the latest version:
npm i -g @gooddata/code-cli
gd -v
2. Re‑run gd clone in a clean folder (or with gd clone -f if you’re OK overwriting the analytics folder). [CLI docs]
If the error persists even on the latest version, it likely means there is still an unsupported visualization/layout type in that workspace. In that case, you’ll need to share the workspace details with GoodData Support so engineering can reproduce and extend CLI support (similar to how other CLI issues were handled). [CLI beta limits]
2. Child workspace clone missing inherited content
What you’re seeing with child workspaces is expected with the current CLI:
• GoodData CLI and the VS Code extension are beta and currently work on a *single workspace only*; they do not support hierarchies or child workspaces. [CLI hierarchy limits]
• When you clone a child workspace, you only get the objects created directly in that child; inherited objects from the parent (master) workspace are not pulled into the child’s YAMLs. [CLI hierarchy limits; Backup guidance]
There is currently no supported way to have gd clone produce a full, deploy‑ready YAML snapshot that includes both parent and child workspace assets together. For parent–child setups and workspace data filters, the recommended tooling is the Python SDK / declarative APIs, not the CLI. [Backup hierarchies]
-------------------------
Summary
• Update @gooddata/code-cli to the latest version and retry gd clone to address the ReferenceTypeNotSupported error.
• The missing inherited content in child workspace clones is a known limitation: CLI does not yet support hierarchies, so only child‑local objects are cloned.
• For full parent+child management/backup, use the declarative Workspace APIs or Python SDK instead of relying solely on `gd clone`/`gd deploy`. 👍 0 button 👎 0 button ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups.
👀 Our Support team monitors all messages and will jump in if needed.Shamil Akhmadyshev
03/12/2026, 1:52 AMGET https://<your_domain>/api/v1/layout/workspaces/{workspaceId} for closer inspection.
GoodData CLI is currently still under active development. Do not use beta features in your production environment.Geetha Mosali
03/12/2026, 2:02 AMFrancisco Antunes
03/12/2026, 2:58 PMpushpin visualization in 08 Geographical Statistics. I would recommend attempting the clone without that dashboard (you could copy the workspace and modify it, for example).Geetha Mosali
03/12/2026, 8:17 PMFrancisco Antunes
03/13/2026, 3:44 PMgd clone command to get the workspace on your local environment? Were you able to get it to run with any other workspace, perhaps a simpler one, or one that hasn’t been migrated?