cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Why "rror: Invalid access to Org: xxx"

Brad
Contributor II

Hi team, 
I installed Databricks CLI, and run "databricks auth login --profile xxx" successfully. I can also connect from vscode to Databricks. "databricks clusters list -p xxx" also works. But when I tried to run

databricks bundle validate

I got
"Error: Invalid access to Org: xxxx".
what could be the possible reason?

Thanks

2 REPLIES 2

xmad2772
New Contributor II

Hey did you make any progress on the error? I'm experiencing the same in my environment. Thanks! 

swhite
New Contributor II

I just ran into this issue (in Azure Databricks) and found that it was caused by an incorrect `host` value specified in my databricks.yml file:

targets:
  dev:
    default: true
    mode: production
    workspace:
      host: https://adb-<workspace-id>.<random-number>.azuredatabricks.net/

I fixed by ensuring that host matched the workspace URL I was trying to deploy to.  

 

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now