Cloud SQL Admin API error messages

This page lists Cloud SQL Admin API error codes.

Error class Error code Error message
403 - FORBIDDEN NOT_AUTHORIZED The client isn't authorized to make this request.
INVALID_BILLING_ACCOUNT_STATE The billing account has an issue. A new instance can't be created until the billing issue is resolved.
ERROR_GCS_BUCKET_PERMISSION_DENIAL The service account doesn't have the required permissions for the bucket.

Error class Error codeError message
404 - NOT_FOUND INSTANCE_DOES_NOT_EXIST The Cloud SQL instance doesn't exist.
ERROR_INVALID_FLAG_NAME The requested flag is either misspelled or unsupported by Cloud SQL.
OPERATION_DOES_NOT_EXIST The Cloud SQL instance operation doesn't exist.
BACKUP_RUN_DOES_NOT_EXIST The backup run doesn't exist.
SSL_CERTIFICATE_DOES_NOT_EXIST The SSL certificate doesn't exist.

Error class Error code Error message
409 - CONFLICT INVALID_STATE The instance or operation isn't in an appropriate state to handle the request.
OPERATION_IN_PROGRESS The operation failed because another operation was already in progress.

Error class Error codeError message
412 - PRECONDITION_FAILED STALE_DATA The condition doesn't match.

Error class Error code Error message
422 - INVALID_VALUE INVALID_INSTANCE_PROPERTY The instance property is invalid.
ERROR_INVALID_FLAG_DATABASE_TYPE The flag requested can't be set on this database type.
ERROR_INVALID_FLAG_VALUE The requested value isn't valid.

Error class Error code Error message
429 - LIMIT_EXCEEDED ERROR_MAX_INSTANCE_PER_LABEL The operation failed to create an instance because the project has reached the maximum instance per project limit.
ERROR_MAX_APP_IDS The operation failed to update an instance because it exceeded the maximum number of application IDs that can be attached to the instance.
ERROR_MAX_FREE_INSTANCE_PER_LABEL The operation failed to create an instance because the project or creator has reached the maximum free instances per project or creator limit.
ERROR_MAX_CLIENT_SSL_CERTIFICATES The operation failed to create a client SSL certificate because you have created the maximum number of certificates allowed.

Error class Error code Error message
500 - BACKEND_ERROR SERVER_EXCEPTION The service is temporarily unavailable.
ERROR_SPECKLE_RPC The service is temporarily unavailable.
ERROR_BILLING_RPC The service is temporarily unavailable.
ERROR_UNKNOWN The operation finished in an unknown state.
POOL_DOES_NOT_EXIST The service is temporarily unavailable.
ERROR_APPCONFIG_RPC The service is temporarily unavailable.
RETRY_TRANSIENT_ERROR The service is temporarily unavailable. This is most likely a momentary error. Retry the operation.
ERROR_IP_MANAGEMENT_OPERATION The service is temporarily unavailable. This is most likely a momentary error. Retry the operation.
ERROR_GCE_BOOT_DISK_CREATION_FAILURE The instance creation operation failed to create a boot disk.
ERROR_GCE_DATA_DISK_CREATION_FAILURE The instance creation operation failed to create a data disk.
ERROR_GCE_TMP_DISK_CREATION_FAILURE The instance creation operation failed to create a tmp disk.
ERROR_GCE_IP_CREATION_FAILURE The instance creation operation failed to obtain an IP address.
ERROR_GCE_VM_CREATION_FAILURE The instance creation operation failed to create a VM.
ERROR_GCE_STOCKOUT The zone or region doesn't have sufficient resources to handle the request at the moment.
ERROR_GCE_QUOTA_EXCEEDED The requested resource is unavailable at the moment.