cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Account level Rest API to list workspaces has suddenly stopped working

GC_Seattle
New Contributor

We use databricks python sdk in one of our Azure databricks workspace to list all the workspaces present in our tenant. The code was working fine since 6-8 months till yesterday and it has started failing suddenly with error :

Endpoint not found for /2.0/accounts/workspaces

 

Is this API deprecated ? If so, was this information made available anywhere on the official website ?.

 

3 REPLIES 3

MuthuLakshmi
Databricks Employee
Databricks Employee

@GC_Seattle 
Can you check if the authentication token is expired and do you have enough permission?
https://kb.databricks.com/en_US/dev-tools/python-sdk-endpoint-not-found-error-when-trying-to-use-acc...

 

GC_Seattle
New Contributor

Yes, I did check those and token is all good.

I also noticed that databricks rest api documentation no longer shows list workspaces as an available API for Azure
whereas it shows up for AWS, link below:

https://docs.databricks.com/api/account/workspaces/list 

Not found.

The service or operation you're looking for might be obsolete or have been renamed.

Make sure you're in the correct API reference and try to use search to find the page you're looking for.

 

We are using this API for production monitoring and would really appreciate any further help on this!

GC_Seattle
New Contributor

My bad, there was an issue with how the accountClient was created. I was able to resolve this. 

This is still an issue :

 

I also noticed that databricks rest api documentation no longer shows list workspaces as an available API for Azure
whereas it shows up for AWS, link below:

https://docs.databricks.com/api/account/workspaces/list 

Not found.

The service or operation you're looking for might be obsolete or have been renamed.

Make sure you're in the correct API reference and try to use search to find the page you're looking for.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now