Skip to content

Troubleshooting guide

net::ERR_FAILED: how to fix it

`net::ERR_FAILED` is Chrome’s generic "the request failed" code. In the developer console it most often appears with CORS errors or service worker problems.

3 min read10 sectionsUpdated

On this page

Key points

  • Generic code: look for a more specific message next to it.
  • CORS is the top cause for API calls.
  • Service workers can fail requests they intercept.
  • Extensions and cache cause it on pages.

What it means

Chrome uses ERR_FAILED when a request failed for a reason that has no more specific code, or when a higher layer (CORS checks, a service worker, a policy) cancelled it. For page loads, it usually means something in the browser blocked the request; for scripts calling APIs, check the console for a CORS message next to it.

Common causes

  • CORS: the API did not return the right Access-Control-Allow-* headers, often on the OPTIONS preflight.
  • A service worker returning an error or failing to fetch.
  • Extensions or enterprise policies blocking the request.
  • Corrupted cache.
  • Redirects that CORS does not allow.

Fixes if you are visiting the site

  1. Reload the page, then try a private window to rule out extensions and old cookies.
  2. Try another network (mobile data instead of Wi-Fi) to see whether your network is the problem.
  3. Clear site data (including service workers) at chrome://settings/content/all.

Fixes if it is your site

Open DevTools → Network, click the failed request and read the console. For CORS, answer the preflight with Access-Control-Allow-Origin, -Methods and -Headers for your front end’s origin; see the CORS error guide. For service workers, unregister and test without them.

bash
curl -si -X OPTIONS https://api.example.com/items \
  -H "Origin: https://app.example.com" \
  -H "Access-Control-Request-Method: POST" | grep -i access-control

Is it your device, your network or the site?

Work outward in three quick tests. First, open the same address on another device on the same network: if it fails there too, your device is not the cause. Second, switch that device to another network, such as mobile data: if it now works, the problem is your Wi-Fi, router, DNS or a filter on that network. Third, check the site from outside with an independent checker: if it fails from there as well, the site itself is down and only its owner can fix it. Write down the exact error code at each step; support teams can act on ERR_... codes far faster than on "it does not load".

How site owners catch this before visitors do

Most visitors who hit net leave without telling you. An uptime check every minute, with a keyword assertion on the page and an SSL check on every run, turns this from a support ticket into an alert. Keep the history: errors that come and go (one region, one server behind a load balancer, one in twenty requests) only make sense on a timeline. Put the result on a status page so people stop guessing. You can test any address now with the free website down checker.

Frequently asked questions

Why does fetch fail with ERR_FAILED but curl works?

curl ignores CORS; the browser enforces it.

Can a service worker cause it?

Yes, a broken fetch handler fails requests.

Is it a network problem?

Rarely; it is usually a browser-side block.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.