please enter your credentials...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2025 01:35 AM
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!
- Labels:
-
AML
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2025 05:58 AM
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

