neeth
New Contributor III

I tried creating another profile and used the below code:

val config = new DatabricksConfig().setProfile("myprofile")
val spark = DatabricksSession.builder().sdkConfig(config).getOrCreate()
I got the same error. While debugging I could see always DatabricksConfig is returned empty.