The cloud region isn’t supported. Valid regions: {asia-east1,europe-west1,us-central1}


When creating a the device registry, only certain regions are allowed. If invalid region is used, Google Cloud API returns an error.

IoT Cloud Tester  application will return this error if the unsupported region is selected when creating the device registry.

In the below example, 'asia-northeast3' region is used to create  the device registry causing this error.

Following error message is returned by Google Cloud API.

GET https://cloudiot.googleapis.com/v1/projects/second-inquiry-315605/locations/asia-northeast3/registries

{

"code" : 404,

"errors" : [ {

"domain" : "global",

"message" : "The cloud region 'projects/second-inquiry-315605/locations/asia-northeast3' (location 'asia-northeast3') isn't supported. Valid regions: {asia-east1,europe-west1,us-central1}",

"reason" : "notFound"

} ],

"message" : "The cloud region 'projects/second-inquiry-315605/locations/asia-northeast3' (location 'asia-northeast3') isn't supported. Valid regions: {asia-east1,europe-west1,us-central1}",

"status" : "NOT_FOUND"

}

To fix this error, pass valid region to Google API arguments,

  • Pass supported regions when creating the device registry.