Error codes returned by the page API.
Error Code
|
Description |
Applicable to |
HTTP Status Code |
Status HTTP Status Code | Internal/Client Facing | Response Examples | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
INSUFFICIENT_CONTENT |
| 422 - Unprocessable Entity | -> Client facing. | |||||||||
PAGE_CONTENT_CLASSIFICATION_FAILED |
| 500 - Internal Server Error | -> Client facing. | |||||||||
TEXT_EXTRACTION_REQUEST_FAILED |
| 500 - Internal Server Error | -> Internal. -> Mapped to PAGE_CONTENT_CLASSIFICATION_FAILED | |||||||||
IMAGE_CLASSIFIACTION_REQUEST_FAILED |
| 500 - Internal Server Error | -> Internal. -> Mapped to PAGE_CONTENT_CLASSIFICATION_FAILED | |||||||||
TEXT_EXTRACTION_RESPONSE_NOT_SUPPORTED |
| 200 - OK | -> Internal. | |||||||||
TEXT_EXTRACTION_RESPONSE_INTERNAL_ERROR |
| 500 - Internal Server Error | -> Internal. -> Mapped to PAGE_CONTENT_CLASSIFICATION_FAILED | |||||||||
TEXT_EXTRACTION_RESPONSE_INTERNAL_UNKNOWN |
| 500 - Internal Server Error | -> Internal. -> Mapped to PAGE_CONTENT_CLASSIFICATION_FAILED | |||||||||
PAGE_CONTENT_EXTRACTION_FAILED_WITH_403_FORBIDDEN |
| 422 - Unprocessable Entity | -> Client facing. | |||||||||
PAGE_CONTENT_EXTRACTION_FAILED_WITH_404_NOT_FOUND |
| 422 - Unprocessable Entity | -> Client facing. | |||||||||
PAGE_CONTENT_EXTRACTION_FAILED_WITH_500_INTERNAL_SERVER_ERROR |
| 422 - Unprocessable Entity | -> Client facing. | |||||||||
PAGE_CONTENT_EXTRACTION_FAILED_WITH_4XX |
| 422 - Unprocessable Entity | -> Client facing. | |||||||||
PAGE_CONTENT_EXTRACTION_FAILED_WITH_5XX |
| 422 - Unprocessable Entity | -> Client facing. | |||||||||
PAGE_CONTENT_EXTRACTION_FAILED |
| 422 - Unprocessable Entity | -> Client facing. | |||||||||
URL_CANNOT_EXCEED_2048_BYTES | Indicates
| provided URL used to identify a page
| .● pageUrl | 400 | INVALID
| 400 - Bad (Invalid) request. | -> Client facing. | |||||
URL_MISSING_HTTP_PROTOCOLIndicates |
| ● pageUrl ● callBackUrl | 400 | INVALID |
| 400 - Bad (Invalid) request. | -> Client facing. | |||||
URL_MUST_NOT_BE_EMPTY | Indicates
| provided URL is empty● pageUrl ● callBackUrl | 400 | INVALID
| 400 - Bad (Invalid) request. | -> Client facing. | ||||||
URL_MALFORMEDIndicates |
| ● pageUrl ● callBackUrl | 400 | INVALID | DOMAIN_BLOCKED_BY_VERITY | Indicates that Verity is prohibited from crawling content from the provided domain | ● pageUrl | 422 | NOT_SUPPORTED
| 400 - Bad (Invalid) request. | -> Client facing. | |
URL_CANNOT_EXCEED_2048_BYTES |
| 400 - Bad (Invalid) request. | -> Client facing. |