Chrome network error · -6 · System

ERR_FILE_NOT_FOUND

Chrome could not find a local file: the page or resource points to a file:// path, or a browser extension file, that does not exist.

Chromium's description

The file or directory cannot be found.

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

Common causes

  • A file:// link or bookmark to a file that was moved or deleted.
  • A browser extension that was removed or broken but still has a page open.
  • A web app or Electron app that loads files from a missing path.

How to fix ERR_FILE_NOT_FOUND

  1. Check the file path, or open the file again from its folder.
  2. Disable or reinstall the extension named in the address bar (chrome-extension://...).
  3. Clear the browser cache and restart Chrome.

ERR_FILE_NOT_FOUND in the screenshot API

The API renders http and https URLs only; any other URL is refused with 422 before the browser starts. A file:/// path is not a valid URL to the API: The url field must be a valid URL. in errors.url (a well-formed URL with another scheme, such as ftp://, gets Only http and https URLs are allowed.). To render a local HTML file, send its HTML in the html field of a POST request instead.

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_FILE_NOT_FOUND mean?

Chrome could not find a local file: the page or resource points to a file:// path, or a browser extension file, that does not exist.

How do I fix ERR_FILE_NOT_FOUND?

Check the file path, or open the file again from its folder.

Is a screenshot that fails with ERR_FILE_NOT_FOUND 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