cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

ENDPOINT_NOT_FOUND error coming for /2.0/clusters/list-zones API on Databricks running over GCP

hokam
New Contributor II

Hi,

I am trying to build the ETL data pipelines on databricks workspace that is running over GCP.

For automated cluster creation, when I´m trying to access list availability zones REST API of cluster creation, then it is failing with end point not found error response.

Below are the details of the call that I am making.

URL: https://xxxxxx.gcp.databricks.com/api/2.0/clusters/list-zones

Method Type: GET

Response:
{
  "error_code": "ENDPOINT_NOT_FOUND",
  "message": "Could not handle RPC class com.databricks.api.proto.cluster.ListAvailableZones."
}

Any help, on how to fix it?

1 REPLY 1

hokam
New Contributor II

Hi @Retired_mod , I tried the region based gcp databricks url as well and this is also failing with invalid URL error. 

URLhttps://us-east4.gcp.databricks.com/api/2.0/clusters/list-zones

Response:

{
  "error_code": "400",
  "message": "Invalid URL. Please use the per-workspace URL and try again."
}

Also I have checked all the necessary permissions for SA and it is already available.

One more thing - on GCP workspace URL, list-node-types REST call is working fine and giving the expected result, but list-zones is failing.

Thanks

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group