Looking for an overview? See the Imperva/Incapsula product page

Resolving Incapsula/Imperva 403 Errors

Incapsula (Imperva) uses device fingerprinting with reese84 and utmvc challenges. Cookies are bound to IP addresses and cannot be modified. MeshPrivacy generates valid session cookies by completing the fingerprint verification process from your IP.

Critical: IP-Bound Cookies

Incapsula cookies cannot be manually modified and are bound to your IP address. Cookies generated from a different IP will not work. Ensure consistent IP usage throughout your session.

Error Codes

CodeMeaningResolution
403Most common block responseGenerate valid session cookies via API
200Deceptive block page (Incapsula HTML)Detect and solve embedded challenge

Real-time API status: trust.meshprivacy.com

Cookies & Headers

Session Cookies
incap_ses_* - Session token
visid_incap_* - Visitor device ID

Format: incap_ses_[site_id]=[token]

Response Headers
X-Iinfo - Incapsula info
X-CDN: Incapsula

Check these headers to identify Incapsula protection.

Service Variants

Imperva/Incapsula challenges resolve through two distinct service IDs in MeshPrivacy. Pick the one matching the script the target serves.

reese84Primary

Fingerprint sensor data submission. Collects browser and device characteristics for verification against Imperva's database.

FieldTypeRequiredDescription
script_urlstringYesReese84 script URL from Imperva/Incapsula
urlstringNoTarget URL
proxy_configstringNoProxy in http://user:pass@ip:port format
user_agentstringNoCustom user agent
reese84.js
// Submit Incapsula Reese84 task
const response = await fetch('https://api.meshprivacy.com/v1/tasks/submit', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'X-API-Key': API_KEY },
  body: JSON.stringify({
    service: 'reese84',
    script_url: 'https://target-site.com/path/to/reese.js', // required
    url: 'https://target-site.com/',                        // optional
    proxy_config: 'http://user:pass@ip:port',               // optional - use same IP throughout
    user_agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)...' // optional
  })
});
const { task_id } = await response.json();
const result = await fetch(`https://api.meshprivacy.com/v1/tasks/result/${task_id}`, {
  headers: { 'X-API-Key': API_KEY }
});
const { cookies } = await result.json();
// reese84 token returned for fingerprint sensor submission

utmvc

Behavior tracking cookie challenge served via _Incapsula_Resource. Generates valid incap_ses_* and visid_incap_* cookies.

FieldTypeRequiredDescription
urlstringYesTarget URL
script_urlstringYesUTMVC script URL (_Incapsula_Resource)
cookiesobjectNoIncapsula cookies JSON (visid_incap, nlbi, incap_ses)
proxy_configstringNo
user_agentstringNo
utmvc.js
// Submit Incapsula UTMVC task
const response = await fetch('https://api.meshprivacy.com/v1/tasks/submit', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json', 'X-API-Key': API_KEY },
  body: JSON.stringify({
    service: 'utmvc',
    url: 'https://target-site.com/',                        // required
    script_url: 'https://target-site.com/_Incapsula_Resource?SWHANEDL=...', // required
    cookies: {                                              // optional - Incapsula cookies JSON
      'visid_incap_123456': '...',
      'nlbi_123456': '...',
      'incap_ses_123_456': '...'
    },
    proxy_config: 'http://user:pass@ip:port',               // optional
    user_agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)...' // optional
  })
});

FAQ

Imperva binds cookies to IP addresses as a security measure against token theft. If you change IPs mid-session, cookies become invalid and you'll receive 403 errors.

Related Services