databricks/databricks-vscode

Connection to databricks failed

Closed this issue · 1 comments

While configuring databricks connection, I get
Error running command databricks.connection.configureWorkspace: Command failed
Error: cannot parse config file: key-value delimiter not found

Hey, based on the error, the most probable root cause is that you have corrupted ~/.databrickscfg file.

It has to be in a correct ini format, something like:

[PROFILE]
token = secret
host = https://...

See more info about configuration file here - https://docs.databricks.com/en/dev-tools/auth.html#config-profiles