cancel
Showing results for 
Search instead for 
Did you mean: 
Databricks Free Trial Help
Engage in discussions about the Databricks Free Trial within the Databricks Community. Share insights, tips, and best practices for getting started, troubleshooting issues, and maximizing the value of your trial experience to explore Databricks' capabilities effectively.
cancel
Showing results for 
Search instead for 
Did you mean: 

please enter your credentials...

charles898cabal
New Contributor

Hi everyone,

I'm trying to connect my local Jupyter Notebook environment to Databricks Community Edition, and I’ve followed the setup guide on the Databricks website. I’m attempting to use the mlflow library, but I’m facing an issue where the authentication process is failing.

When I try to run the following code:

import mlflow
mlflow.set_tracking_uri("https://community.cloud.databricks.com")

I get an error message saying:

mlflow.utils.credentials: No valid Databricks credentials found, please enter your credentials...

I’ve already generated my personal access token (PAT) and set the environment variables for DATABRICKS_HOST and DATABRICKS_TOKEN, but I’m still encountering the same issue.

Has anyone faced this before, or does anyone have suggestions on how to resolve this?

Thanks in advance!

1 REPLY 1

Walter_C
Databricks Employee
Databricks Employee

What is the process you are following to create the PAT token? In community Edition the PAT token is not allowed, instead you need to use Oauth token https://docs.databricks.com/en/dev-tools/auth/oauth-u2m.html 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group