aru-trackunit commented on PR #59217:
URL: https://github.com/apache/airflow/pull/59217#issuecomment-3742776088

   Hi! Apart of updating jobs api path to `/api/2.2` you also updated 
`/api/2.2/sql/endpoints` that does not exist, so I am getting: 
   ```
   [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
   ```
   
   Previous version `api/2.0/sql/endpoints` works is there even though is not 
listed in the Databricks documentation. Just retested it.
   
   Latest Databricks docs does not even include `sql/endpoints` my guess it has 
been migrated to `sql/warehouses` 
https://docs.databricks.com/api/workspace/warehouses/list
   
   Maybe that’s just me but when doing API version bumps I would expect to bump 
a minor version not a fix version number.
   
   Should latest databricks provider version be yanked?


-- 
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