-
Notifications
You must be signed in to change notification settings - Fork 153
More actionable error message when not authenticated #1060
Copy link
Copy link
Closed
Labels
Description
Describe the issue
When running a command that requires authentication, it throws an error that clearly indicates this, but doesn't give any direction on how to resolve this.
Steps to reproduce the behavior
- Remove the
~/.databrickscfgfile - Run
databricks sync ... - See error:
Error: cannot load Databricks config file: no configuration file found at /Users/jan.vandervegt/.databrickscfg; please create one first
Expected Behavior
Directions on how to resolve this (by running databricks configure)
Actual Behavior
Got the following error: Error: cannot load Databricks config file: no configuration file found at /Users/jan.vandervegt/.databrickscfg; please create one first
OS and CLI version
CLI version: 0.210.2
OS: MacOS Sonoma 14.2
Is this a regression?
Don't know
Debug Logs
NA
Reactions are currently unavailable