ERR::SCREENSHOT::INVALID_CONTENT_TYPE
Only content type text/html is supported for screenshot. See all errors
- Retryable: No
- HTTP status code: 422
If retryable is "yes" and retry=true
the errored is retried internally by scrapfly. In the end if you get the error, it means the errors happened 3 times or
the error happened after retries from other kind of retryable error in the last retry round.
Related Documentation
Read Error From Response Body
{
"code": "ERR::SCREENSHOT::INVALID_CONTENT_TYPE"
"error_id": "f0e9a6af-846a-49ab-8321-e21bb12bf494",
"http_code": 422,
"links": {
"Related Error Doc": "https://scrapfly.io/docs/screenshot-api/error/ERR::SCREENSHOT::INVALID_CONTENT_TYPE"
},
"message": "ERR::SCREENSHOT::INVALID_CONTENT_TYPE",
"reason": "Useful information about the error",
"retryable": true
}
Read Error From Response Headers
- X-Scrapfly-Reject-Code:
ERR::SCREENSHOT::INVALID_CONTENT_TYPE
- X-Scrapfly-Reject-Description:
Only content type text/html is supported for screenshot
- X-Scrapfly-Reject-Doc:
https://scrapfly.io/docs/screenshot-api/error/ERR::SCREENSHOT::INVALID_CONTENT_TYPE
- X-Scrapfly-Reject-Http-Code:
https://scrapfly.io/docs/screenshot-api/error/422
- X-Scrapfly-Reject-Retryable:
false