ERR::SCRAPE::DOM_SELECTOR_INVISIBLE

From the 2022/09/01, to simplify errors management and the perception by the api consumer - all errors with Deprecated http code becomes 422 and the code must be used to handle them.

The requested DOM selected is invisible (Mostly issued when element is targeted for screenshot). See all errors

  • Retryable: No
  • HTTP status code: 400 Deprecated - Will became 422 on 2022/09/01

Related Documentation

Read Error From Response Body

{
    "config": { ... },
    "context": { ... },
    "result": {
        [...],
        "status": "DONE",
        "success": false,
        "reason": null,
        "error": {
            "http_code": 400,
            "code": "ERR::SCRAPE::DOM_SELECTOR_INVISIBLE",
            "description": "The requested DOM selected is invisible (Mostly issued when element is targeted for screenshot)",
            "error_id": "9993a546-b899-4927-b788-04f5c4e473d5",
            "message": "Useful hint with details about your error",
            "scrape_id": "7c61352c-f1a7-4ea6-a0b8-198d7ac6fe1a",
            "retryable": false,
            "doc_url": "https://scrapfly.io/docs/scrape-api/error/ERR::SCRAPE::DOM_SELECTOR_INVISIBLE"
        },
        [...],
    }
}

Read Error From Response Headers

Moslty relevant with HEAD request

  • X-Scrapfly-Reject-Code: ERR::SCRAPE::DOM_SELECTOR_INVISIBLE
  • X-Scrapfly-Reject-Description: The requested DOM selected is invisible (Mostly issued when element is targeted for screenshot)
  • X-Scrapfly-Reject-Doc: https://scrapfly.io/docs/scrape-api/error/ERR::SCRAPE::DOM_SELECTOR_INVISIBLE
  • X-Scrapfly-Reject-Http-Code: https://scrapfly.io/docs/scrape-api/error/400
  • X-Scrapfly-Reject-Retryable: false

Suggested content