ERR::SCREENSHOT::UNABLE_TO_TAKE_SCREENSHOT

For some reason we were unable to take the screenshot. See all errors

  • Retryable: Yes
  • HTTP status code: 422
The Screenshot API never retries internally: it accepts no retry parameter and always runs the capture with retries disabled. Retryable above tells you whether sending the same request again can succeed, when it is No the request or the target has to change first.

Read Error From Response Body

{
  "code": "ERR::SCREENSHOT::UNABLE_TO_TAKE_SCREENSHOT",
  "error_id": "f0e9a6af-846a-49ab-8321-e21bb12bf494",
  "http_code": 422,
  "links": {
    "Related Error Doc": "https://scrapfly.io/docs/screenshot-api/error/ERR::SCREENSHOT::UNABLE_TO_TAKE_SCREENSHOT"
  },
  "message": "For some reason we were unable to take the screenshot",
  "reason": "Useful information about the error",
  "retryable": true
}

Read Error From Response Headers

  • X-Scrapfly-Reject-Code: 422
  • X-Scrapfly-Reject-Description: For some reason we were unable to take the screenshot
  • X-Scrapfly-Reject-Doc: https://scrapfly.io/docs/screenshot-api/error/ERR::SCREENSHOT::UNABLE_TO_TAKE_SCREENSHOT. Every documentation link of the error, joined with a comma, so this value can hold more than one URL.
  • X-Scrapfly-Reject-Id: f0e9a6af-846a-49ab-8321-e21bb12bf494
  • X-Scrapfly-Reject-Retryable: false. This header is always sent as false, read the retryable field of the response body to know if the error is retryable.

Suggested content

Summary