pageFetchState property

String? pageFetchState
getter/setter pair

Whether or not Google could retrieve the page from your server.

Equivalent to ["page fetch"](https://support.google.com/webmasters/answer/9012289#index_coverage) in the URL inspection report. Possible string values are:

  • "PAGE_FETCH_STATE_UNSPECIFIED" : Unknown fetch state.
  • "SUCCESSFUL" : Successful fetch.
  • "SOFT_404" : Soft 404.
  • "BLOCKED_ROBOTS_TXT" : Blocked by robots.txt.
  • "NOT_FOUND" : Not found (404).
  • "ACCESS_DENIED" : Blocked due to unauthorized request (401).
  • "SERVER_ERROR" : Server error (5xx).
  • "REDIRECT_ERROR" : Redirection error.
  • "ACCESS_FORBIDDEN" : Blocked due to access forbidden (403).
  • "BLOCKED_4XX" : Blocked due to other 4xx issue (not 403, 404).
  • "INTERNAL_CRAWL_ERROR" : Internal error.
  • "INVALID_URL" : Invalid URL.

Implementation

core.String? pageFetchState;