code property

String? code
getter/setter pair

Indicates the error reason code.

Output only. Possible string values are:

  • "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.
  • "STARTING_URLS_CRAWL_HTTP_ERRORS" : Indicates that some of the starting web urls returned HTTP errors during the scan.

Implementation

core.String? code;