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 Domain targeted is not allowed or restricted. See all errors

  • Retryable: No
  • HTTP status code: 403 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": 403,
            "code": "ERR::SCRAPE::DOMAIN_NOT_ALLOWED",
            "description": "The Domain targeted is not allowed or restricted",
            "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": ""

Read Error From Response Headers

Moslty relevant with HEAD request

  • X-Scrapfly-Reject-Code: ERR::SCRAPE::DOMAIN_NOT_ALLOWED
  • X-Scrapfly-Reject-Description: The Domain targeted is not allowed or restricted
  • X-Scrapfly-Reject-Doc:
  • X-Scrapfly-Reject-Http-Code:
  • X-Scrapfly-Reject-Retryable: false

Suggested content