# Unable to connect to Databricks from Dbt

**URL:** <https://discourse.getdbt.com/t/unable-to-connect-to-databricks-from-dbt/14048>\
**Category:** Help\
**Created:** [July 4, 2024, 12:49am UTC](https://discourse.getdbt.com/t/unable-to-connect-to-databricks-from-dbt/14048 "2024-07-04T00:49:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayasfps](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/jayasfps/32/2555_2.png) [@jayasfps](https://discourse.getdbt.com/u/jayasfps)\
**Post date:** [July 4, 2024, 12:49am UTC](https://discourse.getdbt.com/t/unable-to-connect-to-databricks-from-dbt/14048/1 "2024-07-04T00:49:42Z")

</div>



---

<div class="post-metadata">

**Author:** ![brunoszdl](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/brunoszdl/32/4113_2.png) [@brunoszdl](https://discourse.getdbt.com/u/brunoszdl)\
**Post date:** [July 4, 2024, 12:31pm UTC](https://discourse.getdbt.com/t/unable-to-connect-to-databricks-from-dbt/14048/2 "2024-07-04T12:31:11Z")

</div>

What issue are you having?

---

<div class="post-metadata">

**Author:** ![jayasfps](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/jayasfps/32/2555_2.png) [@jayasfps](https://discourse.getdbt.com/u/jayasfps)\
**Post date:** [July 5, 2024, 12:06am UTC](https://discourse.getdbt.com/t/unable-to-connect-to-databricks-from-dbt/14048/3 "2024-07-05T00:06:04Z")

</div>

Not sure if you were able to see the screenshot I attached earlier. This is what happens when I give dbt debug.

PS C:\Users\ ***\*** \***\> dbt debug  
23:59:36 Running with dbt=1.8.3  
23:59:36 dbt version: 1.8.3  
23:59:36 python version: 3.12.4  
23:59:36 python path: C:\Program Files\Python312\python.exe  
23:59:36 os info: Windows-2019Server-10.0.17763-SP0  
using legacy validation callback  
23:59:46 Using profiles dir at C:\Users\***.dbt  
23:59:46 Using profiles.yml file at C:\Users\***.dbt\profiles.yml  
23:59:46 Using dbt\_project.yml file at C:\Users\ ***\*** \***\dbt\_project.yml  
23:59:46 adapter type: databricks  
23:59:46 adapter version: 1.8.3  
23:59:46 [WARNING]: Deprecated functionality  
The `tests` config has been renamed to `data_tests`. Please see  
[Add data tests to your DAG | dbt Developer Hub](https://docs.getdbt.com/docs/build/data-tests#new-data_tests-syntax) for more  
information.  
23:59:46 Configuration:  
23:59:46 profiles.yml file [OK found and valid]  
23:59:46 dbt\_project.yml file [OK found and valid]  
23:59:46 Required dependencies:  
23:59:46 - git [OK found]

23:59:46 Connection:  
23:59:46 host: \*_**.cloud.databricks.com  
23:59:46 http\_path: /sql/1.0/warehouses/**_  
23:59:46 catalog: sit  
23:59:46 schema: silver\_raw\_datavault  
23:59:46 Registered adapter: databricks=1.8.3  
23:59:46 Connection test: [ERROR]

23:59:46 1 check failed:  
23:59:46 dbt was unable to connect to the specified database.  
The database returned the following error:

> Runtime Error  
> Database Error  
> Proxy URL had no scheme, should start with http:// or https://

Check your database credentials and try again. For more information, visit:

> **[Connection profiles | dbt Developer Hub](https://docs.getdbt.com/docs/core/connect-data-platform/connection-profiles)**
>
> Configure your profile using the command line.

---

<div class="post-metadata">

**Author:** ![brunoszdl](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/brunoszdl/32/4113_2.png) [@brunoszdl](https://discourse.getdbt.com/u/brunoszdl)\
**Post date:** [July 5, 2024, 8:49pm UTC](https://discourse.getdbt.com/t/unable-to-connect-to-databricks-from-dbt/14048/4 "2024-07-05T20:49:17Z")

</div>

The only thing we can infer from this error log is that there is something odd with your credentials. Double-check if they are defined in the right way

---

<div class="post-metadata">

**Author:** ![jayasfps](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/jayasfps/32/2555_2.png) [@jayasfps](https://discourse.getdbt.com/u/jayasfps)\
**Post date:** [July 8, 2024, 1:03am UTC](https://discourse.getdbt.com/t/unable-to-connect-to-databricks-from-dbt/14048/5 "2024-07-08T01:03:41Z")

</div>

> [@brunoszdl](#):
>
> ck if they are defined in the right way

Thanks for the response, there were issues with the proxy settings.  
Issue is fixed now, I am able to connect.
