Skip to content
qibdo qibdo
Theme
Book a demo

Errors

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

Storage codes begin with 8 (for example 8300002, read as 8_300_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).

CodeReasonStatusDescription
8300001NON_EMPTY_BUCKET_DELETIONINVALID_ARGUMENTCannot delete a non-empty bucket.
8300002BUCKET_NOT_FOUNDNOT_FOUNDBucket not found.
8300003BUCKET_ALREADY_EXISTSALREADY_EXISTSA bucket with this name already exists in the workspace.
8300004BUCKET_NAME_VALIDATIONINVALID_ARGUMENTBucket name must match ^[a-z0-9][a-z0-9\-]{1,24}[a-z0-9]$ (3 to 26 chars).
8300005BUCKET_WORKSPACE_ID_NOT_VALIDINVALID_ARGUMENTBucket workspace ID is required.
8300006BUCKET_REGION_NOT_VALIDINVALID_ARGUMENTBucket region is required.
8300007BUCKET_DEFAULT_STORAGE_CLASS_NOT_VALIDINVALID_ARGUMENTBucket default storage class ID is not valid.
8300008BUCKET_PROVIDER_VALIDATION_NOT_IMPLEMENTEDINVALID_ARGUMENTBucket validation is not yet implemented for this provider.
8300009BUCKET_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONBucket must be marked for deletion before removal.
8301001STORAGE_CLASS_NOT_FOUNDNOT_FOUNDStorage class not found.
8301002STORAGE_CLASS_ALREADY_EXISTSALREADY_EXISTSA storage class with this name already exists in the region.
8301003STORAGE_CLASS_NAME_VALIDATIONINVALID_ARGUMENTStorage class name must match ^[A-Z][A-Z0-9_]{0,63}$ (1 to 64 chars, uppercase).
8301004STORAGE_CLASS_REGION_NOT_VALIDINVALID_ARGUMENTStorage class region is required.
8301005STORAGE_CLASS_DATA_POOL_NOT_VALIDINVALID_ARGUMENTStorage class data pool is required.
8301006STORAGE_CLASS_COMPRESSION_TYPE_NOT_VALIDINVALID_ARGUMENTStorage class compression type is not valid.
8301007STORAGE_CLASS_NOT_MARKED_FOR_DELETIONFAILED_PRECONDITIONStorage class must be marked for deletion before removal.
8302001OBJECT_KEY_IS_BLANKINVALID_ARGUMENTObject key must not be blank.
8302002OBJECT_KEY_NOT_VALIDINVALID_ARGUMENTObject key is not valid.
8303001STORAGE_OPERATION_PROGRESS_OUT_OF_RANGEINVALID_ARGUMENTOperation progress must be between 0 and 100.
8303002STORAGE_OPERATION_END_TIME_BEFORE_START_TIMEINVALID_ARGUMENTOperation end time must not be before start time.