aru-trackunit opened a new issue, #60444:
URL: https://github.com/apache/airflow/issues/60444

   ### 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
   
   ```
   [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
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to