Chrome network error · -310 · HTTP

ERR_TOO_MANY_REDIRECTS

The page redirected again and again, more than 20 times, so Chrome stopped. The site sends visitors in a loop, for example from HTTP to HTTPS and back.

Chromium's description

Attempting to load an URL resulted in too many redirects.

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

Common causes

  • Conflicting HTTP/HTTPS rules: the server forces HTTPS while a CDN in flexible SSL mode connects over HTTP.
  • www and non-www rules that point at each other.
  • A login or cookie check that redirects again when a cookie is missing or blocked.
  • A wrong site URL in the CMS settings, e.g. WordPress home and site URL.

How to fix ERR_TOO_MANY_REDIRECTS

  1. Clear the cookies of the site and reload.
  2. Site owners: follow the chain with curl -sIL https://example.com and fix the rule that sends it back.
  3. On Cloudflare, set the SSL mode to Full (strict) when the server itself forces HTTPS.
  4. Check the CMS URL settings and redirect plugins.

ERR_TOO_MANY_REDIRECTS in the screenshot API

When the page itself fails to load with ERR_TOO_MANY_REDIRECTS, the API answers 502 with the message The target website could not be loaded (ERR_TOO_MANY_REDIRECTS). (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.

Frequently asked questions

What does ERR_TOO_MANY_REDIRECTS mean?

The page redirected again and again, more than 20 times, so Chrome stopped. The site sends visitors in a loop, for example from HTTP to HTTPS and back.

How do I fix ERR_TOO_MANY_REDIRECTS?

Clear the cookies of the site and reload.

Is a screenshot that fails with ERR_TOO_MANY_REDIRECTS billed?

No. Requests the screenshot 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