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?