Hi everybody. I’m getting this error when trying t...
# gooddata-cloud
m
Hi everybody. I’m getting this error when trying to clone workspace by CLI:
Copy code
Error: Reference type is not supported. Item: IDashboardLayout
        at t.newError (/Users/matejkys/.nvm/versions/node/v22.16.0/lib/node_modules/@gooddata/code-cli/out/index.js:14:614697)
        at p (/Users/matejkys/.nvm/versions/node/v22.16.0/lib/node_modules/@gooddata/code-cli/out/index.js:14:498211)
        at /Users/matejkys/.nvm/versions/node/v22.16.0/lib/node_modules/@gooddata/code-cli/out/index.js:14:497969
        at Array.forEach (<anonymous>)
        at /Users/matejkys/.nvm/versions/node/v22.16.0/lib/node_modules/@gooddata/code-cli/out/index.js:14:497948
        at Array.forEach (<anonymous>)
        at u (/Users/matejkys/.nvm/versions/node/v22.16.0/lib/node_modules/@gooddata/code-cli/out/index.js:14:497727)
        at t.declarativeDashboardToYaml (/Users/matejkys/.nvm/versions/node/v22.16.0/lib/node_modules/@gooddata/code-cli/out/index.js:14:505455)
        at /Users/matejkys/.nvm/versions/node/v22.16.0/lib/node_modules/@gooddata/code-cli/out/index.js:14:540301
        at Array.map (<anonymous>) {
      type: 'ReferenceTypeNotSupported',
      code: 'core.referenceTypeNotSupported'
    }
I’m not aware of any new/special objects being used in any dashboard and other workspaces are being cloned just fine. Do you have any idea which object/item can be causing the error? Thanks a lot for any hints.
m
Hi Martin, based on the error it seems to indicate there is a component or layout element in one of your dashboards that is using a new or custom visualisation type, that is no yet supported. Could you please try to install and run the latest version of the CLI tool? https://www.gooddata.com/docs/cloud/api-and-sdk/vs-code-extension/cli/
m
Dummy me. Cli update worked. Thank you!
👍 1