errorCode property

String? errorCode
getter/setter pair

The error code of an API call. Possible string values are:

  • "ERROR_CODE_UNSPECIFIED" : Not specified error.
  • "INPUT_URL_NOT_FOUND" : Indicates the requested URL is not found in the index, possibly because it's unable to be found, not able to be accessed by Googlebot, or some other error.
  • "NO_AMP_URL" : Indicates no AMP URL has been found that corresponds to the requested URL.
  • "APPLICATION_ERROR" : Indicates some kind of application error occurred at the server. Client advised to retry.
  • "URL_IS_VALID_AMP" : DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a non-error state, should not be relied upon as a sign of success or failure. It will be removed in future versions of the API.
  • "URL_IS_INVALID_AMP" : Indicates that an AMP URL has been found that corresponds to the request URL, but it is not valid AMP HTML.

Implementation

core.String? errorCode;