# Infrastructure Manager V1 API - Module Google::Cloud::ConfigService::V1::Preview::ErrorCode (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.1 1.1.0 1.0.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.0 Reference documentation and code samples for the Infrastructure Manager V1 API module Google::Cloud::ConfigService::V1::Preview::ErrorCode.

Possible errors that can occur with previews.

## Constants

### ERROR_CODE_UNSPECIFIED

**value:** 0  
No error code was specified.

### CLOUD_BUILD_PERMISSION_DENIED

**value:** 1  
Cloud Build failed due to a permissions issue.

### BUCKET_CREATION_PERMISSION_DENIED

**value:** 2  
Cloud Storage bucket failed to create due to a permissions issue.

### BUCKET_CREATION_FAILED

**value:** 3  
Cloud Storage bucket failed for a non-permissions-related issue.

### DEPLOYMENT_LOCK_ACQUIRE_FAILED

**value:** 4  
Acquiring lock on provided deployment reference failed.

### PREVIEW_BUILD_API_FAILED

**value:** 5  
Preview encountered an error when trying to access Cloud Build API.

### PREVIEW_BUILD_RUN_FAILED

**value:** 6  
Preview created a build but build failed and logs were generated.

### EXTERNAL_VALUE_SOURCE_IMPORT_FAILED

**value:** 7  
Failed to import values from an external source.