# BigQuery Storage V1 API - Module Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.27.0 0.26.0 0.25.2 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.1 0.18.0 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.1 0.9.2 Reference documentation and code samples for the BigQuery Storage V1 API module Google::Cloud::Bigquery::Storage::V1::StorageError::StorageErrorCode.

Error code for `StorageError`.

## Constants

### STORAGE_ERROR_CODE_UNSPECIFIED

**value:** 0  
Default error.

### TABLE_NOT_FOUND

**value:** 1  
Table is not found in the system.

### STREAM_ALREADY_COMMITTED

**value:** 2  
Stream is already committed.

### STREAM_NOT_FOUND

**value:** 3  
Stream is not found.

### INVALID_STREAM_TYPE

**value:** 4  
Invalid Stream type.
For example, you try to commit a stream that is not pending.

### INVALID_STREAM_STATE

**value:** 5  
Invalid Stream state.
For example, you try to commit a stream that is not finalized or is
garbaged.

### STREAM_FINALIZED

**value:** 6  
Stream is finalized.

### SCHEMA_MISMATCH_EXTRA_FIELDS

**value:** 7  
There is a schema mismatch and it is caused by user schema has extra
field than bigquery schema.

### OFFSET_ALREADY_EXISTS

**value:** 8  
Offset already exists.

### OFFSET_OUT_OF_RANGE

**value:** 9  
Offset out of range.

### CMEK_NOT_PROVIDED

**value:** 10  
Customer-managed encryption key (CMEK) not provided for CMEK-enabled
data.

### INVALID_CMEK_PROVIDED

**value:** 11  
Customer-managed encryption key (CMEK) was incorrectly provided.

### CMEK_ENCRYPTION_ERROR

**value:** 12  
There is an encryption error while using customer-managed encryption key.

### KMS_SERVICE_ERROR

**value:** 13  
Key Management Service (KMS) service returned an error, which can be
retried.

### KMS_PERMISSION_DENIED

**value:** 14  
Permission denied while using customer-managed encryption key.