Errors & CAPTCHAs

Request unsuccessful. Incapsula incident ID: Imperva blocked you

CAPTCHAs · Incapsula incident ID
Published
Made by
Imperva
Variants
Incident ID block page · ___utmvc challenge · reese84 sensor · Pardon Our Interruption · hCaptcha or GeeTest in an iframe

What you see

  • Request unsuccessful. Incapsula incident ID
  • Request unsuccessful. Incapsula incident ID:
  • /_Incapsula_Resource?SWJIYLWA=
  • _Incapsula_Resource
More error strings (8)
  • This request was blocked by our security service
  • Pardon Our Interruption
  • visid_incap_
  • incap_ses_
  • nlbi_
  • reese84
  • ___utmvc
  • X-CDN: Incapsula

What it means

Imperva (it used to be called Incapsula) guards the site you asked for. It decides a script is asking rather than a person in a browser, so it sent you a check page instead of the real one. The long number after “incident ID” is the ticket number for this one block.

Why it happens

According to the FuckCaptcha field guide, Imperva scores your first request on your IP, headers, cookies and your TLS fingerprint (how your client opens the secure connection). A low score gets a JavaScript test, a block page or a CAPTCHA.

These are the usual reasons, most common first:

  1. Your client can’t run JavaScript. The check page loads a script from /_Incapsula_Resource. requests, curl, Jsoup and plain fetch never run it, so you get a short page with no data. An n8n user scraping realtor.ca saw exactly that.
  2. Your IP or TLS looks wrong. Datacenter IPs and TLS fingerprints that don’t match a real browser get refused before any JavaScript runs, FuckCaptcha says.
  3. You have no pass cookie. Imperva hands out two kinds of proof. ___utmvc comes from an older challenge script. reese84 comes from a newer sensor that sends a fingerprint of your browser back to the site. Some sites use one, some both, Hyper Solutions’ docs say.
  4. Your session changed. Hyper Solutions lists the usual culprits: the IP changed, the User-Agent changed, or a second layer (UTMVC or a CAPTCHA) went unhandled.
  5. The owner blocked you by rule. Imperva’s error code 14 means your user or IP is blocked, and then every later request in that session fails too, its docs note.

A site you scraped fine last week can turn on today. The same code worked a few days earlier for the Stack Overflow user above.

Accessibility: if the site adds a visible puzzle, image CAPTCHAs are out of reach for blind and low-vision people. Behaviour checks can also score keyboard-only assistive tech as a bot, often with no fallback (A11Y Boost).

Think of Imperva as a funnel, the way Crawlex lays it out:

  • The connection. Your TLS hello, HTTP/2 settings and the order of your headers all get fingerprinted on every connection, before any cookie exists.
  • The cookies. The edge checks the whole set on every request.
  • The JavaScript test. When cookies are missing or stale, a script runs and mints ___utmvc or reese84.
  • Behaviour. Over the session it tracks your pace and the order you fetch pages in.

Each layer can drop you, and passing one doesn’t clear the others.

That explains the usual surprises. Valid cookies sent from a Python client still fail: your token says Chrome, the connection says otherwise. A cookie from site A means nothing on site B since every cookie carries the site’s ID. And reese84 expires on purpose, so a script that grabs it once dies a few minutes in, Crawlex says.

Fix it

  1. Make sure it’s Imperva. Look for “Incapsula incident ID” or _Incapsula_Resource in the body, or cookies beginning with visid_incap_ and incap_ses_.
  2. Read the code first. Not every Imperva page is a bot block. Codes 8, 20, 30 and 32 mean the site’s own server is down or not answering. Retry later.
  3. Stop retrying in a loop. A blocked session stays blocked (code 14 in Imperva’s docs). Start a fresh session.
  4. Use a residential IP (an address borrowed from someone’s home internet) in that site’s own region. FuckCaptcha says datacenter IPs fail before any test runs.
  5. Use a real browser and let the check run. Don’t block its scripts; FuckCaptcha says that makes your score drop. Wait for the page to reload, then keep every cookie.
  6. Keep one identity. Same IP (a sticky proxy), same User-Agent, same TLS fingerprint for the whole session. For API endpoints, warm up the cookies in a browser, then replay them with a browser-like client such as curl_cffi.
  7. Still blocked? Pick a tool (listed below, A–Z):
    • Stealth browsers or browser-like HTTP clients, for the fingerprint part.
    • Solvers. CapSolver lists reese84 and utmvc tasks. For a visible CAPTCHA, FuckCaptcha says 2Captcha and CapSolver help only when the page embeds a widget they support.
    • Unblocker APIs, which handle the whole Imperva session for you.

Ask the owner if the data is yours to use. Send the full incident ID and the time.

The steps go from free to costly. Change one thing at a time, so you can learn which layer stopped you.

Why one identity counts: Crawlex says visid_incap is your history as a visitor and incap_ses is the current conversation. Drop visid_incap and you throw away the reputation it built. Let incap_ses fall out of step and the edge checks you again. A brand-new profile is no fix either: FuckCaptcha says a cold profile with no history looks more suspicious, so reuse a warmed one.

Why solvers alone often fail: a solved token still has to arrive from the same IP, browser and TLS that made it. Hyper Solutions says a valid payload that still gets blocked usually means a changed IP, a rotated User-Agent or a layer you missed.

Our advice: fix your IP, browser and session first. Pay for solving last.

Paste this into your AI

My scraper gets an Imperva (Incapsula) page instead of the real page.
Status: <status code>. Body: <paste it, e.g. "Request unsuccessful. Incapsula incident ID: …">.
If there is an _Incapsula_Resource iframe, its edet= value is: <e.g. 12, or not shown>.
Cookies I get back: <visid_incap_…, incap_ses_…, nlbi_…, reese84, ___utmvc, or none>.
Explain in plain words what blocked me.
List the likely causes in order, most likely first.
For each cause, give one way to test it and one fix.
My setup: <language + library or browser tool>, <the URL pattern>, <the headers I send, incl. User-Agent>,
<proxy type + country, or none>, <requests per minute>, <do I keep cookies between requests: yes/no>.

Dev details

The block page exactly as a Jsoup user pasted it on Stack Overflow (13 Jul 2023):

<html style="height:100%">
 <head>
  <meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
  <meta name="format-detection" content="telephone=no">
  <meta name="viewport" content="initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <script type="text/javascript" src="/_Incapsula_Resource?SWJIYLWA=719d34d31c8e3a6e6fffd425f7e032f3"></script>
  <script src="/bukd-fairers-stayld-his-do-you-she-beth-not-betr" async></script>
 </head>
 <body style="margin:0px;height:100%">
  <iframe id="main-iframe" src="/_Incapsula_Resource?SWUDNSAI=31&amp;xinfo=7-59020918-0%200NNN%20RT%281689249168226%20790%29%20q%280%20-1%20-1%205%29%20r%280%20-1%29%20B12%2811%2c1337794%2c0%29%20U24&amp;incident_id=1220001110238789559-263723949970693063&amp;edet=12&amp;cinfo=0b000000&amp;rpinfo=0&amp;cts=MC1%2bbffyCFI5wK%2bnKF5heCJ8mhMBzBg%2bUp1uiaJLs7YcyEY9lFttNsgaGx7ZImGK&amp;mth=GET" frameborder="0" width="100%" height="100%" marginheight="0px" marginwidth="0px">
Request unsuccessful. Incapsula incident ID: 1220001110238789559-263723949970693063</iframe>
     </body>
    </html>

The iframe URL tells you more:

  • incident_id = the ID printed in the page text.
  • edet = the error code. Imperva’s docs say error codes show up in an edet field. Our reading: edet=12 is code 12, “Request received a CAPTCHA challenge page”.

Imperva’s error codes worth knowing for a scraper:

code what Imperva says it means
12 you got a CAPTCHA challenge page
14 your user or IP is blocked; the whole session stays blocked
15 WAF rules blocked the request (Block Request, User or IP)
16 Bot Access Control or Block Specific Sources blocked you
17 Block User fired and your session had no cookies
47 you are in the site’s Waiting Room queue
8, 20, 30, 32 the site’s own server failed, not you

Codes 14 to 17 show visitors the line “This request was blocked by our security service”.

Here are the cookies you will run into:

cookie what it is
visid_incap_<siteID> visitor ID, one per site, survives sessions (Crawlex)
incap_ses_<…>_<siteID> the session cookie; CapSolver’s example: incap_ses_345_2269415
nlbi_<siteID> load-balancer cookie that keeps you on one backend (Crawlex)
___utmvc set by the older challenge script from _Incapsula_Resource?SWJIYLWA=
reese84 token from the newer sensor; the reply includes renewInSec, so renew it before it runs out (Hyper Solutions)

Edge quirks:

  • No fixed status code. A realtor.ca API user got a 403 with edet=15 in the iframe (28 Jun 2020). Scrapfly got block pages with status 200 from giffgaff.com and coles.com.au; other Imperva blocks come back as 403 or another 4xx or 5xx, it says.
  • reese84 has two forms. A quiet background sensor or a “Pardon Our Interruption” page, often with a proof-of-work step. An x-d-token request header also points to reese84, per Hyper Solutions.
  • CAPTCHA fallback. When trust drops, Imperva can show hCaptcha or GeeTest within an iframe. FuckCaptcha adds reCAPTCHA.
  • Headers. FuckCaptcha lists X-Iinfo and X-CDN: Incapsula as giveaways for Imperva.
  • Pages can be dressed up. Owners can swap Imperva’s default error pages out for their own HTML. In that case the strings above may not appear.
  • Don’t bake in one flow. Challenge pages and cookie names change between sites and over time, FuckCaptcha warns.
  • Solvers need a match. CapSolver says the User-Agent must be one it supports (Windows Chrome 135 to 147) and recommends a good TLS client.

Catch it before you parse:

const res = await fetch(url, { headers });
const body = await res.text();
const cookies = res.headers.get("set-cookie") ?? "";
const imperva =
  /Incapsula incident ID|_Incapsula_Resource/.test(body) ||
  /(visid_incap_|incap_ses_)/.test(cookies) ||
  res.headers.get("x-cdn") === "Incapsula";
if (imperva) {
  const edet = body.match(/[?&](?:amp;)?edet=(\d+)/)?.[1];
  const id = body.match(/incident ID: ([\d-]+)/)?.[1];
  throw new Error(`Imperva on ${url}: status ${res.status}, edet ${edet}, incident ${id}`);
}

If you own the site: filter the Security Events page in the Cloud Security Console using the Incident ID or the IP. Imperva’s error page also shows the code, the time, the visitor’s IP and the Imperva proxy that handled the request.

How to tell the two challenge types apart over the wire, per Crawlex:

  • ___utmvc: the script is served from a GET under /_Incapsula_Resource. It gathers browser values and encrypts them with RC4 (an old cipher), using a short key taken from the page’s own script. The result is the cookie. After this flow, incap_sh_ cookies also show up.
  • reese84: the script sits on its own path, different for each site. Your browser POSTs the sensor data there with ?d=<domain> and Content-Type: text/plain; charset=utf-8. The reply comes back as JSON with token, renewInSec and cookieDomain. The token goes into the reese84 cookie.

Imperva doesn’t publish what’s inside either value. Every field map you find online comes from reverse engineering, Crawlex warns.

Why the status trap matters: Scrapfly notes that raise_for_status() raised nothing on a 200 block page. A pipeline that trusts the status will save the check page as if it were data.

Our advice for a pipeline: run the detect check on every response, and log the incident ID, edet and the time next to the URL. Never store a check page as data.

Questions

What is an Incapsula incident ID?

It is the ticket number Imperva prints for one blocked request. The site owner can type it into Imperva's Security Events page to see why you were stopped. It doesn't help you get in yourself.

Will a VPN fix "Request unsuccessful. Incapsula incident ID"?

Often not. In one Stack Overflow report the user switched to a VPN and got the same page. Imperva also checks your browser, TLS fingerprint and cookies, not just your IP.

Tools that get past it

ToolPrice
2Captcha: CAPTCHA solving API (reCAPTCHA, Turnstile, image and more), priced per 1,000 solves by CAPTCHA type.$1.00/1k solves
Bright Data Web Unlocker: Unblocking API from Bright Data: you send a URL, it handles proxies, retries and CAPTCHAs. Billed per 1,000 requests.$1.50/1k req
Camoufox: Anti-detect browser built on Firefox that changes fingerprints to look like a real user; works with Playwright.Free
CapSolver: AI-based CAPTCHA solving API for reCAPTCHA, image CAPTCHAs and others, priced per 1,000 solves.from $6.00
curl_cffi: Python HTTP client on curl-impersonate that can copy a browser's TLS, JA3 and HTTP/2 fingerprints.Free
nodriver: Python browser automation without WebDriver or Selenium, from the author of undetected-chromedriver, made to avoid bot checks.Free
Oxylabs Web Unblocker: Oxylabs proxy-style endpoint that handles blocks for you, billed per GB of traffic.$7.20/GB
Patchright: Drop-in patched version of Playwright that hides common automation signs.Free
Scrape.do: Scraping API with residential and mobile proxies and JavaScript rendering. Charges only for successful responses.$0.12/1k req
ScrapeBadger: Scraping API with residential proxies, JavaScript rendering and anti-bot bypass on every plan. Has ready-made JSON endpoints for Google and more.$0.15/1k req
Scrapfly: Scraping API with anti-bot bypass, browser rendering and screenshots, using one credit pool across products.$0.15/1k req
ScrapingBee: Scraping API with headless browsers and rotating proxies. Monthly credit plans; JavaScript and premium proxies use more credits.$0.25/1k req
SeleniumBase: Python framework on top of Selenium for testing, crawling and scraping, with a stealth mode against bot checks.Free
undetected-chromedriver: Patched Selenium ChromeDriver made to avoid bot detection. nodriver, by the same author, is its successor.Free
Web Scraper (webscraper.io): Web Scraper Cloud: managed platform that runs point-and-click scrapers on a schedule. 7-day free trial.from $50
ZenRows: Scraping API with JavaScript rendering and premium proxies, priced in credits per page. Free plan with 5,000 credits a month.$0.42/1k req

Sources

  1. Imperva docs: Cloud WAF Error Pages and Codes docs-cybersec.thalesgroup.com
  2. Imperva docs: Custom Error Pages docs-cybersec.thalesgroup.com
  3. FuckCaptcha (CC0): Imperva field guide (signals and tools) github.com
  4. Hyper Solutions docs: Incapsula & Imperva, reese84 vs UTMVC docs.hypersolutions.co
  5. CapSolver docs: Incapsula/Imperva task (reese84 and utmvc) docs.capsolver.com
  6. Crawlex: Imperva Incapsula bot detection, the ___utmvc cookie and reese84 token blog.crawlex.net
  7. Stack Overflow: "Request unsuccessful. Incapsula incident ID" while scraping (full block page) stackoverflow.com
  8. n8n community: Incapsula incident ID on realtor.ca community.n8n.io
  9. Froren/realtorca issue #16: 403 with an Incapsula page (edet=15) github.com
  10. Scrapfly: How to bypass Imperva Incapsula (block pages with status 200) scrapfly.io
  11. A11Y Boost: Are CAPTCHA systems failing accessibility? a11yboost.com