databricks dashboard deployment error

s3anil
New Contributor II

Hi, 

i am trying to deploy a dashboard using a bundle and github action. but i am getting an error on CI even though the dashboard is deployed.

 

im using the latest version of CLI from https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh  on my ci job

 

Advika
Community Manager
Community Manager

Hello @s3anil!

Could you please share the error message or paste the screenshot? Not able to open the attached images.

s3anil
New Contributor II

hi @Advika , please see error

s3anil_0-1759153377885.png

 

szymon_dybczak
Esteemed Contributor III

Hi @s3anil ,

You can check steps suggested in below thread. But I guess that issue will be related to lack of appropriate permisson to user running CLI command.

Error about creating a dashboard with Asset Bundle... - Databricks Community - 121230

nayan_wylde
Esteemed Contributor

Make sure your Service Principle running the  CLI have correct access to the folders.

s3anil
New Contributor II

@szymon_dybczak ,@nayan_wylde , I checked the permissions and the SP has 'can manage' access on the folder.

szymon_dybczak
Esteemed Contributor III

So, it seems like this is a bug in Databricks CLI. Maybe try to open new issue on github?