Skip to content
qibdo qibdo
Theme
Book a demo

Errors

Every Compute error carries a stable numeric error_code and a machine-readable reason. This page lists the logical (domain) error codes Compute can return. For the full error envelope (the google.rpc.Status shape, the reason and metadata fields, and how codes are structured) see Errors.

Compute codes begin with 3 (for example 3301001, read as 3_301_001: 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).

CodeReasonStatusDescription
3301001MEMORY_SIZE_CANT_BE_ALLOCATED_IF_ZONES_ARE_ALLOCATEDINVALID_ARGUMENTA virtual machine cannot have a memory allocation (size > 0) when memory zones are defined and initialised. Set memory size to zero or remove the memory zones allocation.
3301002MEMORY_SIZE_MUST_BE_GREATER_THAN_ZEROINVALID_ARGUMENTA virtual machine must have a memory size > 0 or memory zones greater than zero. Set memory size to a value greater than zero or add memory zones with a size greater than zero.
3301003MEMORY_ACCESS_MODE_CANT_BE_PRIVATE_IF_HUGE_PAGESINVALID_ARGUMENTWhen a hugepages object is set, the access mode is forced to SHARED, because huge pages always require MAP_SHARED.
3301004VIRTUAL_MACHINE_NAME_IS_INVALIDINVALID_ARGUMENTName must start with a lowercase letter, followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
3301005UNEXPECTED_ENGINE_RESULTINVALID_ARGUMENTThe engine returned an unexpected result type.
3301006VM_PROVIDER_VALIDATION_NOT_IMPLEMENTEDINVALID_ARGUMENTVirtual machine validation is not yet implemented for this provider.
3301007VIRTUAL_MACHINE_DESCRIPTION_IS_NOT_VALIDINVALID_ARGUMENTVirtual machine description must not exceed 1024 characters.
3302001OPERATION_PROGRESS_OUT_OF_RANGEINVALID_ARGUMENTOperation progress must be between 0 and 100 inclusive.
3302002OPERATION_END_TIME_BEFORE_START_TIMEINVALID_ARGUMENTOperation end time must not be before start time.
3303001DISK_NAME_NOT_VALIDINVALID_ARGUMENTDisk name is not valid.
3303002DISK_SIZE_NOT_VALIDINVALID_ARGUMENTDisk size is not valid.
3303003DISK_ZONE_ID_NOT_VALIDINVALID_ARGUMENTDisk zone id is not valid.
3304001IMAGE_NAME_NOT_VALIDINVALID_ARGUMENTImage name is not valid.
3304002IMAGE_PATH_NOT_VALIDINVALID_ARGUMENTImage path is not valid.
3304003IMAGE_EXTENSION_NOT_VALIDINVALID_ARGUMENTImage extension is not valid.
3304004IMAGE_HOST_ID_NOT_VALIDINVALID_ARGUMENTImage host id is not valid.
3304005SYSTEM_IMAGE_CANNOT_BE_DELETEDINVALID_ARGUMENTSystem images cannot be deleted.
3304006IMAGE_REFERENCE_NOT_VALIDINVALID_ARGUMENTContainer image reference is not valid.
3304007IMAGE_SOURCE_URL_NOT_VALIDINVALID_ARGUMENTData volume source URL is not valid.
3304008IMAGE_STORAGE_CLASS_NOT_VALIDINVALID_ARGUMENTStorage class name is not valid.
3304009IMAGE_CLAIM_NAME_NOT_VALIDINVALID_ARGUMENTPVC claim name is not valid.
3304010IMAGE_NAMESPACE_NOT_VALIDINVALID_ARGUMENTPVC namespace is not valid.
3304011IMAGE_NOT_FOUNDNOT_FOUNDImage not found.
3305001VM_NOT_IN_STARTABLE_STATEFAILED_PRECONDITIONVirtual machine is not in a startable state.
3305002VM_NOT_IN_STOPPABLE_STATEFAILED_PRECONDITIONVirtual machine is not in a stoppable state.
3305003VM_NOT_IN_RESTARTABLE_STATEFAILED_PRECONDITIONVirtual machine is not in a restartable state.
3305004VM_NOT_IN_SUSPENDABLE_STATEFAILED_PRECONDITIONVirtual machine is not in a suspendable state.
3305005VM_NOT_IN_RESUMABLE_STATEFAILED_PRECONDITIONVirtual machine is not in a resumable state.
3305006VM_NOT_IN_RESETTABLE_STATEFAILED_PRECONDITIONVirtual machine is not in a resettable state.
3305007VM_NOT_IN_UPDATABLE_STATEFAILED_PRECONDITIONVirtual machine is not in an updatable state.
3306001INSUFFICIENT_CPUS_TO_ALLOCATEINVALID_ARGUMENTThe deployment target does not have enough available CPUs to deploy the specified virtual machine.
3306002INSUFFICIENT_GPUS_TO_ALLOCATEINVALID_ARGUMENTThe deployment target does not have enough available GPUs to deploy the specified virtual machine.
3306003INSUFFICIENT_MEMORY_TO_ALLOCATEINVALID_ARGUMENTThe deployment target does not have enough available memory to deploy the specified virtual machine.
3306004INCORRECT_MEMORY_TYPE_TO_ALLOCATEINVALID_ARGUMENTThe deployment target does not have the right memory type to deploy the specified virtual machine.
3306005INSUFFICIENT_DISK_TO_ALLOCATEINVALID_ARGUMENTThe deployment target does not have enough available disk storage to deploy the specified virtual machine.
3306006INCORRECT_DISK_CONFIGURATION_TO_ALLOCATEINVALID_ARGUMENTThe deployment target does not have the right disk configuration (disk type, IOPS, throughput, and so on) to deploy the specified virtual machine.
3306007INSUFFICIENT_NETWORK_CONFIGURATIONINVALID_ARGUMENTThe deployment target does not have enough bandwidth or the right network configuration to deploy the specified virtual machine.
3306008NOT_MATCHES_AFFINITYINVALID_ARGUMENTThe deployment target does not match affinity parameters (such as tags) to deploy the specified virtual machine.
3306009NO_SUITABLE_DEPLOYMENT_TARGET_FOR_SPECIFICATIONINVALID_ARGUMENTNo deployment target matches all the specifications required to deploy the virtual machine.
3306010DEPLOYMENT_TARGET_VALIDATION_NOT_IMPLEMENTEDINVALID_ARGUMENTDeployment target validation is not yet implemented.
3307001CLOCK_TIMER_NAMES_NOT_UNIQUEINVALID_ARGUMENTClock timer names must be unique.
3308001QIBDO_VM_RESOURCE_POOL_ID_NOT_VALIDINVALID_ARGUMENTQibdo VM resource pool id is not valid.
3308002QIBDO_VM_EVICTION_STRATEGY_NOT_VALIDINVALID_ARGUMENTQibdo VM eviction strategy is not valid.
3308003QIBDO_VM_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONQibdo virtual machine must be marked for deletion before removal.
3309001VM_WORKSPACE_NOT_FOUNDNOT_FOUNDWorkspace referenced by the virtual-machine request does not exist.
3309002VM_ZONE_NOT_FOUNDNOT_FOUNDZone referenced by the virtual-machine request does not exist.
3309003VM_RESOURCE_POOL_NOT_FOUNDNOT_FOUNDResource pool referenced by the virtual-machine request does not exist.
3310001DISK_LEVEL_CLOUD_INIT_DEPRECATEDINVALID_ARGUMENTDisk-level initConfig is deprecated; set cloudInit on the CreateQibdoVm command instead.
3310002CLOUD_INIT_TEMPLATE_NOT_FOUNDNOT_FOUNDCloud-init template not found for the given id and generation.
3310003CLOUD_INIT_PAYLOAD_TOO_LARGEINVALID_ARGUMENTCloud-init user-data payload exceeds the maximum supported size.
3310004CLOUD_INIT_PAYLOAD_INVALIDINVALID_ARGUMENTCloud-init user-data payload is not valid: malformed YAML or an unknown top-level key.
3311001DEPLOYMENT_TARGET_CAPACITY_INCOMPLETEFAILED_PRECONDITIONThe scheduler refused to reason about an incomplete deployment-target candidate set.