Reference documentation and code samples for the Web Security Scanner V1beta API module Google::Cloud::WebSecurityScanner::V1beta::ScanRunErrorTrace::Code.
Output only.
Defines an error reason code.
Next id: 7
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Web Security Scanner V1beta API - Module Google::Cloud::WebSecurityScanner::V1beta::ScanRunErrorTrace::Code (v0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/latest/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.11.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.11.1/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.10.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.10.0/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.9.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.9.1/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.8.2](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.8.2/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.7.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.7.0/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.6.1](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.6.1/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.5.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.5.0/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.4.0](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.4.0/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code)\n- [0.3.5](/ruby/docs/reference/google-cloud-web_security_scanner-v1beta/0.3.5/Google-Cloud-WebSecurityScanner-V1beta-ScanRunErrorTrace-Code) \nReference documentation and code samples for the Web Security Scanner V1beta API module Google::Cloud::WebSecurityScanner::V1beta::ScanRunErrorTrace::Code.\n\nOutput only.\nDefines an error reason code.\nNext id: 7\n\nConstants\n---------\n\n### CODE_UNSPECIFIED\n\n**value:** 0 \nDefault value is never used.\n\n### INTERNAL_ERROR\n\n**value:** 1 \nIndicates that the scan run failed due to an internal server error.\n\n### SCAN_CONFIG_ISSUE\n\n**value:** 2 \nIndicates a scan configuration error, usually due to outdated ScanConfig\nsettings, such as starting_urls or the DNS configuration.\n\n### AUTHENTICATION_CONFIG_ISSUE\n\n**value:** 3 \nIndicates an authentication error, usually due to outdated ScanConfig\nauthentication settings.\n\n### TIMED_OUT_WHILE_SCANNING\n\n**value:** 4 \nIndicates a scan operation timeout, usually caused by a very large site.\n\n### TOO_MANY_REDIRECTS\n\n**value:** 5 \nIndicates that a scan encountered excessive redirects, either to\nauthentication or some other page outside of the scan scope.\n\n### TOO_MANY_HTTP_ERRORS\n\n**value:** 6 \nIndicates that a scan encountered numerous errors from the web site\npages. When available, most_common_http_error_code field indicates the\nmost common HTTP error code encountered during the scan."]]