Chrome network error · -26 · System

ERR_CONTEXT_SHUT_DOWN

The request failed because the URLRequestContext is shutting down, or has been shut down.

Chromium's description

The request failed because the URLRequestContext is shutting down, or has been shut down.

Chrome shows it as net::ERR_CONTEXT_SHUT_DOWN, error -26. Puppeteer and Playwright report the same name when a page fails to load in Chromium. With the screenshot API you don't run the browser yourself: a page that fails to load comes back as a JSON error.

ERR_CONTEXT_SHUT_DOWN in the screenshot API

When the page itself fails to load with ERR_CONTEXT_SHUT_DOWN, the API answers 424 with the message The target website could not be loaded (ERR_CONTEXT_SHUT_DOWN). (target_unreachable). Not billed.

Only the page's own load can fail a render. An image, script or frame of the page that fails with a network error does not: the page is captured as the browser shows it without that resource.

Check whether a website loads

Rendered in a real browser with cookie banners hidden. Takes 5–30 seconds.

Other common errors

All 249 Chrome network errors · Screenshot API errors

Screenshot API

Take screenshots from your code

screenshotbase renders any website in a real browser and returns the image: full page or viewport, any device size, retina, from 117 countries (paid plans), with cookie banners and ads hidden.

/v1/take documentation Screenshot API All documentation

300 free screenshots every month. No credit card required.

GET https://api.screenshotbase.com/v1/take?url=https://example.com&full_page=true

# Response: the image (PNG, JPG, WebP, AVIF or GIF)
curl -G "https://api.screenshotbase.com/v1/take" \
  --data-urlencode "url=https://example.com" \
  -d viewport_width=1280 -d viewport_height=800 \
  -d full_page=true -d format=png \
  -H "apikey: YOUR-API-KEY" \
  -o screenshot.png

More free tools