Hi @vaishalisai,
Could you please run below validations?
Run this command to validate: databricks auth describe
Check the Databricks Configuration File: Ensure that your .databrickscfg file is correctly configured. This file should be located in your home directory and should contain the necessary credentials. The file should look something like this: [DEFAULT] host = https://<your-databricks-instance> token = <your-personal-access-token>
Verify Environment Variables: Make sure that the environment variables DATABRICKS_HOST and DATABRICKS_TOKEN are set correctly. These variables should point to your Databricks instance and contain your access token, respectively.
Unified Authentication: According to the documentation, you should ensure that you have configured the unified authentication method correctly. You can refer to the detailed steps in the Databricks documentation here: Databricks Client Unified Authentication.
OAuth for Users (U2M): Since you mentioned using U2M (User-to-Machine) authentication, ensure that you have followed the steps to generate an OAuth code verifier and challenge pair if required. This is necessary for the OAuth authentication process.