Errors
Every Topology error carries a stable numeric error_code and a machine-readable
reason. This page lists the logical error codes Topology can return, across its domain
groups (4_3xx) and infrastructure groups (4_6xx).
For the full error envelope (the google.rpc.Status shape, the reason and
metadata fields, and how codes are structured) see Errors.
Topology codes begin with 4 (for example 4306002, read as 4_306_002:
service, group, specific error). The wire value is always the flat integer; you
can match on either error_code or reason, both are stable.
The Status column is the canonical gRPC status the error maps to, which the
gateway renders as the matching HTTP status (see the
status codes table).
| Code | Reason | Status | Description |
|---|---|---|---|
4303001 | NODE_POOL_NAME_IS_BLANK | INVALID_ARGUMENT | Node pool name must not be blank. |
4303002 | NODE_POOL_ZONE_ID_NOT_VALID | INVALID_ARGUMENT | Node pool zone ID is required and must be a valid format. |
4303003 | NODE_POOL_NAME_INVALID_FORMAT | INVALID_ARGUMENT | Node pool name must be a valid DNS label: lowercase letters, digits, and hyphens; must start with a letter and end with a letter or digit. |
4303004 | NODE_POOL_NAME_TOO_LONG | INVALID_ARGUMENT | Node pool name must not exceed 63 characters. |
4303005 | NODE_POOL_NAME_CONSECUTIVE_HYPHENS | INVALID_ARGUMENT | Node pool name must not contain consecutive hyphens. |
4303006 | NODE_POOL_LABEL_SELECTOR_NOT_VALID | INVALID_ARGUMENT | Node pool label selector is not valid. |
4303007 | NODE_POOL_IMMUTABLE_AFTER_ENABLED | FAILED_PRECONDITION | A node pool cannot be modified once it has been enabled. |
4303008 | NODE_POOL_STATUS_TRANSITION_NOT_ALLOWED | FAILED_PRECONDITION | Node pool status transition is not allowed. |
4303009 | NODE_POOL_DISPLAY_NAME_IS_BLANK | INVALID_ARGUMENT | Node pool display name is required. |
4303010 | NODE_POOL_DISPLAY_NAME_TOO_LONG | INVALID_ARGUMENT | Node pool display name must not exceed 128 characters. |
4303011 | NODE_POOL_DISPLAY_NAME_NOT_VALID | INVALID_ARGUMENT | Node pool display name must not contain control characters. |
4304001 | NODE_NAME_IS_BLANK | INVALID_ARGUMENT | Node name must not be blank. |
4304002 | NODE_HOSTNAME_IS_BLANK | INVALID_ARGUMENT | Node hostname must not be blank. |
4304003 | NODE_ONLINE_CPUS_ZERO | INVALID_ARGUMENT | Node online CPUs must be greater than zero. |
4304004 | NODE_TOTAL_MEMORY_ZERO | INVALID_ARGUMENT | Node total memory must be greater than zero. |
4304005 | NODE_NAME_TOO_LONG | INVALID_ARGUMENT | Node name must not exceed 63 characters. |
4304006 | NODE_NAME_INVALID_FORMAT | INVALID_ARGUMENT | Node name must be a valid DNS label: lowercase letters, digits, and hyphens; must start with a letter and end with a letter or digit. |
4304007 | NODE_NAME_CONSECUTIVE_HYPHENS | INVALID_ARGUMENT | Node name must not contain consecutive hyphens. |
4304008 | NODE_UID_NOT_VALID | INVALID_ARGUMENT | Node UID is not valid. |
4304009 | NODE_STATUS_NOT_VALID | INVALID_ARGUMENT | Node status is not valid. |
4304010 | NODE_LABELS_NOT_VALID | INVALID_ARGUMENT | Node labels are not valid. |
4305001 | OPERATION_PROGRESS_OUT_OF_RANGE | INVALID_ARGUMENT | Operation progress must be between 0 and 100 inclusive. |
4305002 | OPERATION_END_TIME_BEFORE_START_TIME | INVALID_ARGUMENT | Operation end time must not be before start time. |
4305003 | OPERATION_SCOPE_TYPE_NOT_VALID | INVALID_ARGUMENT | Operation scope type is not valid. |
4306001 | LOCATION_NOT_FOUND | NOT_FOUND | The referenced location does not exist. |
4306002 | LOCATION_NOT_ACTIVE | FAILED_PRECONDITION | The target location is not active and cannot take new placements. |
4306003 | LOCATION_KIND_NOT_PLACEABLE | INVALID_ARGUMENT | This kind of location cannot be used for the requested operation. |
4306004 | LOCATION_STATUS_TRANSITION_NOT_ALLOWED | FAILED_PRECONDITION | The requested status change is not allowed from the location’s current state. |
4306005 | UNKNOWN_LOCATION_KIND | INVALID_ARGUMENT | The location kind is not recognised. |
4306006 | UNKNOWN_LOCATION_STATUS | INVALID_ARGUMENT | The location status is not recognised. |
4306007 | LOCATION_NAME_IS_BLANK | INVALID_ARGUMENT | Location name must not be blank. |
4306008 | LOCATION_NAME_INVALID_FORMAT | INVALID_ARGUMENT | Location name must be a valid DNS label: lowercase letters, digits, and hyphens; must start with a letter and end with a letter or digit. |
4306009 | LOCATION_NAME_TOO_LONG | INVALID_ARGUMENT | Location name must not exceed 63 characters. |
4306010 | LOCATION_NAME_CONSECUTIVE_HYPHENS | INVALID_ARGUMENT | Location name must not contain consecutive hyphens. |
4306011 | LOCATION_DISPLAY_NAME_IS_BLANK | INVALID_ARGUMENT | Location display name must not be blank. |
4306012 | GLOBAL_LOCATION_NOT_ACTIVE | INVALID_ARGUMENT | The global location must always be active. |
4306013 | GLOBAL_LOCATION_HANDLE_INVALID | INVALID_ARGUMENT | The global location must keep its reserved global handle. |
4306014 | ZONE_IMMUTABLE_AFTER_ENABLED | FAILED_PRECONDITION | A zone cannot be modified once it has been enabled. |
4306015 | REGION_MULTI_REGION_REFERENCE_INVALID | INVALID_ARGUMENT | The region’s multi-region reference is not valid. |
4306016 | ZONE_REGION_ID_INVALID | INVALID_ARGUMENT | The zone’s region reference is not valid. |
4306017 | REGION_ALREADY_IN_MULTI_REGION | FAILED_PRECONDITION | The region already belongs to another multi-region. |
4306018 | ZONE_NOT_MARKED_FOR_DELETION | FAILED_PRECONDITION | A zone must be marked for deletion before it is removed. |
4306019 | ZONE_NOT_EMPTY | FAILED_PRECONDITION | A zone cannot be deleted while it still has node pools. |
4306020 | LOCATION_DESCRIPTION_NOT_VALID | INVALID_ARGUMENT | Location description must be at most 1024 characters and carry no control or bidirectional characters. |
4307001 | MULTI_REGION_NOT_FOUND | NOT_FOUND | The referenced multi-region does not exist. |
4307002 | MULTI_REGION_NOT_MARKED_FOR_DELETION | FAILED_PRECONDITION | Multi-region must be marked for deletion before it is removed. |
4601001 | UNKNOWN_SCHEMA_VERSION | DATA_LOSS | Schema version is not recognized. |
4601002 | REGION_NOT_FOUND | NOT_FOUND | The region was not found. |
4601003 | ZONE_NOT_FOUND | NOT_FOUND | The zone was not found. |
4601004 | NODE_POOL_NOT_FOUND | NOT_FOUND | The node pool was not found. |
4601005 | NODE_NOT_FOUND | NOT_FOUND | The node was not found. |
4601006 | TOPOLOGY_OPERATION_NOT_FOUND | NOT_FOUND | The topology operation was not found. |
4601007 | UNKNOWN_NODE_STATUS | DATA_LOSS | The node status is not recognized. |
4602001 | UNKNOWN_INTEGRATION_VERSION | INVALID_ARGUMENT | The integration version is not recognized. |
4602002 | UNKNOWN_NODE_STATUS | INVALID_ARGUMENT | The node status is not recognized. |