Skip to content

Databricks endpoint does not exist api/2.2/sql/endpoints #60444

Closed

Description

@aru-trackunit

Apache Airflow Provider(s)

databricks

Versions of Apache Airflow Providers

apache-airflow-providers-databricks==7.8.2

Apache Airflow version

3.1.5

Operating System

Debian GNU/Linux 12 (bookworm)

Deployment

Official Apache Airflow Helm Chart

Deployment details

k8s + helm chart.

What happened

Endpoint api/2.2/sql/endpoints unfortunately does not exist and I even do think that has been migrated to: https://docs.databricks.com/api/workspace/warehouses/list

However api/2.0/sql/endpoints endpoint still works.

[2026-01-13 03:32:41] ERROR - Task failed with exception source=task loc=task_runner.py:986
AirflowException: Response: {"error":"Bad Target: /api/2.2/sql/endpoints"}
, Status Code: 404

HTTPError: 404 Client Error: Not Found for url: https://dbc-instance-random.cloud.databricks.com/api/2.2/sql/endpoints

File "/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/databricks/hooks/databricks_base.py", line 704 in _do_api_call
File "/home/airflow/.local/lib/python3.12/site-packages/tenacity/__init__.py", line 445 in __iter__
File "/home/airflow/.local/lib/python3.12/site-packages/tenacity/__init__.py", line 378 in iter
File "/home/airflow/.local/lib/python3.12/site-packages/tenacity/__init__.py", line 400 in <lambda>
File "/usr/python/lib/python3.12/concurrent/futures/_base.py", line 449 in result
File "/usr/python/lib/python3.12/concurrent/futures/_base.py", line 401 in __get_result
File "/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/databricks/hooks/databricks_base.py", line 723 in _do_api_call
File "/home/airflow/.local/lib/python3.12/site-packages/requests/models.py", line 1026 in raise_for_status

What you think should happen instead

No response

How to reproduce

example_operator = DatabricksSqlOperator(
        task_id="example_operator",
        sql=f"""SELECT 1""",
        do_xcom_push=True,
        retries=0,
    )

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

  1. added
    kind:bug
    needs-triage
    on Jan 13, 2026
  2. jroachgolf84 commented on Jan 14, 2026

    @jroachgolf84
    Collaborator

    I'm happy to pick this up and fix those endpoints that did not exist.

  3. self-assigned this
    on Jan 14, 2026
  4. removed
    needs-triage
    on Jan 14, 2026
  5. jroachgolf84 commented on Jan 16, 2026

    @jroachgolf84
    Collaborator

    I've created a PR for this issue. Please see the description!

    #60647

  6. rodigu commented on Jan 16, 2026

    @rodigu

    also having this same issue, thanks for looking into it @jroachgolf84 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions