Chrome network error · -20 · System

ERR_BLOCKED_BY_CLIENT

Something in the browser itself blocked the request, usually an ad blocker or privacy extension that matched the URL against its filter lists.

Chromium's description

The client chose to block the request.

Chrome shows it as net::ERR_BLOCKED_BY_CLIENT, error -20. puppeteer and Playwright report the same name when a page fails to load in Chromium.

Common causes

  • An ad blocker (uBlock Origin, AdBlock) or tracker blocker blocking a script, image or the page.
  • An antivirus browser extension.
  • Browser policies of a managed computer.

How to fix ERR_BLOCKED_BY_CLIENT

  1. Disable the ad blocker for the site, or allow the blocked URL.
  2. Test in an incognito window without extensions.
  3. Developers: rename files and paths that look like ads (/ads/, banner.js) so filter lists do not match them.

ERR_BLOCKED_BY_CLIENT in the screenshot API

With block_ads=true (ads and trackers) or block_cookie_banners=true (some cookie-consent scripts) the renderer blocks requests the same way; the blocked requests fail with this error and the page renders without them. Without these options nothing is blocked.

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.

Frequently asked questions

What does ERR_BLOCKED_BY_CLIENT mean?

Something in the browser itself blocked the request, usually an ad blocker or privacy extension that matched the URL against its filter lists.

How do I fix ERR_BLOCKED_BY_CLIENT?

Disable the ad blocker for the site, or allow the blocked URL.

Is a screenshot that fails with ERR_BLOCKED_BY_CLIENT billed?

The render is not stopped by this error: the page renders without the blocked requests, and the screenshot counts like any other. Only requests the API answers with an error are not billed.

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 100+ countries, 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 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 format=png \
  -H "apikey: YOUR-API-KEY" \
  -o screenshot.png

More free tools

Start using our Screenshot API for free today!

Get 300 requests / month for free