NetworkError
The kind of failure the browser reports when a request cannot complete, including blocked CORS responses and Subresource Integrity mismatches.
In more detail
A network error makes fetch() reject with a TypeError. For security, the page only learns that the request failed, not why; details appear in the developer console.
Related terms
- Subresource Integrity — A browser check in which a script or stylesheet tag carries the expected hash of the file, and the browser refuses to use the file if it does not match.
- CORS — The browser rule set that decides whether web page code from one origin may read a response from a different origin.
Taught in
- CSRF Mitigations, SameSite Cookies And Subresource Integrity — Frontend Architecture & Web Platform
- Same-Origin Policy, CORS Preflight, Credentials And Headers — Frontend Architecture & Web Platform