# Web Security Scanner V1 API - Module Google::Cloud::WebSecurityScanner::V1::ScanRunErrorTrace::Code (v1.6.0)

1.6.0 (latest) 1.5.1 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.1 0.3.5 Reference documentation and code samples for the Web Security Scanner V1 API module Google::Cloud::WebSecurityScanner::V1::ScanRunErrorTrace::Code.

Output only.
Defines an error reason code.
Next id: 8

## Constants

### CODE_UNSPECIFIED

**value:** 0  
Default value is never used.

### INTERNAL_ERROR

**value:** 1  
Indicates that the scan run failed due to an internal server error.

### SCAN_CONFIG_ISSUE

**value:** 2  
Indicates a scan configuration error, usually due to outdated ScanConfig
settings, such as starting_urls or the DNS configuration.

### AUTHENTICATION_CONFIG_ISSUE

**value:** 3  
Indicates an authentication error, usually due to outdated ScanConfig
authentication settings.

### TIMED_OUT_WHILE_SCANNING

**value:** 4  
Indicates a scan operation timeout, usually caused by a very large site.

### TOO_MANY_REDIRECTS

**value:** 5  
Indicates that a scan encountered excessive redirects, either to
authentication or some other page outside of the scan scope.

### TOO_MANY_HTTP_ERRORS

**value:** 6  
Indicates that a scan encountered numerous errors from the web site
pages. When available, most_common_http_error_code field indicates the
most common HTTP error code encountered during the scan.