Excerpt |
---|
Page API errors. |
The Verity API checks for malformed HTTP requests, such as:
...
Code Block | ||
---|---|---|
| ||
{
"dataAvailable": false,
"Status": "ERROR",
"pageUrl": "http://gg.error/1"
"uuid": "73146868-8d77-4bf0-8e89-eeb9d8e04cb2"
} |
Example Invalid Request
Code Block | ||
---|---|---|
| ||
{ "dataAvailable": false, "Status": "INVALID", "pageUrl": "://gg.invalid/1" "uuid": "73146868-8d77-4bf0-8e89-eeb9d8e04cb2" } |
Page URLs that are unreachable or resulted in errors are maintained in an Error cache. Whenever a request for a Page URL in the Error cache is received, an error message is returned to the client and the request is not processed.
Clients can retry a failed Page request after 1 hour, when Page URLs time out of the Error cache. Alternatively a client can force immediate page reprocessing, as described in Ignore Cached Page Response.