# Class Code (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.2 1.16.0 1.15.1 1.14.5 1.13.0 1.12.2 1.11.1 1.10.0 1.9.2 1.8.3 1.7.2 1.6.1 1.5.0 1.4.3 1.3.0 1.2.0 1.1.0 1.0.0 0.4.2 0.3.0

    Code(value)

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

| ## Enums ||
|---|---|
| **Name** | **Description** |
| `CODE_UNSPECIFIED` | Default value is never used. |
| `INTERNAL_ERROR` | Indicates that the scan run failed due to an internal server error. |
| `SCAN_CONFIG_ISSUE` | Indicates a scan configuration error, usually due to outdated ScanConfig settings, such as starting_urls or the DNS configuration. |
| `AUTHENTICATION_CONFIG_ISSUE` | Indicates an authentication error, usually due to outdated ScanConfig authentication settings. |
| `TIMED_OUT_WHILE_SCANNING` | Indicates a scan operation timeout, usually caused by a very large site. |
| `TOO_MANY_REDIRECTS` | Indicates that a scan encountered excessive redirects, either to authentication or some other page outside of the scan scope. |
| `TOO_MANY_HTTP_ERRORS` | 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. |