The browser DevTools Network panel shows what a webpage actually requests, sends, receives, and waits for. This guide gives you a reusable checklist for tracing failed forms, unexpected API responses, authentication problems, CORS errors, cache behavior, and slow resources in Chrome, Firefox, or Edge.
Overview
When a page fails, the visible symptom is often several steps removed from the cause. A button may appear unresponsive because the request was never sent. An API call may reach the server but fail validation. A successful response may still be unusable because the browser blocks it under its cross-origin rules. The Network panel helps separate these possibilities.
Open the browser’s developer tools, select Network (called Network Monitor in some browser interfaces), and reload the page. Enable the option that preserves requests across navigation if you need to inspect a redirect or a page transition. Reproduce the problem once, then work from the request list rather than guessing from the user interface.
Use the request type and result together. A document request loads the page itself; scripts and styles support the interface; images, fonts, and media affect rendering; fetch or XHR requests usually represent API calls; and preflight requests help the browser determine whether a cross-origin request is permitted.
| Request to inspect | Useful questions | Likely evidence |
|---|---|---|
| Document | Did navigation reach the expected page? | Redirects, server errors, response headers |
| Fetch or XHR | Did the API receive the expected method, URL, and data? | Payload, status, response body, authorization headers |
| Preflight | Did the server approve the cross-origin method and headers? | OPTIONS response and CORS headers |
| Script or stylesheet | Did a required asset load? | 404 or 500 responses, MIME or cache details |
| Image, font, or media | Is a resource delaying or breaking the page? | Timing, size, priority, and failed requests |
For a related way to make API behavior repeatable outside the browser, see the cURL API testing guide. If the response is JSON, the JSON formatter and validator guide can make nested data easier to inspect.
Checklist by scenario
A form, button, or page action does nothing
- Clear the request list, then perform the action once.
- Filter by Fetch/XHR, or search by part of the endpoint name.
- Confirm that a request appears. If none appears, investigate JavaScript errors, event handlers, disabled controls, validation, or an incorrect environment configuration.
- Check the request method, URL, query parameters, and payload. Compare them with the data the server expects.
- Read the status code and response body. A server can return an application-level error even when the transport completed successfully.
- Check whether the request was redirected, blocked, canceled, or served from cache.
An API returns an unexpected result
- Open the request’s headers and verify the method, content type, authorization mechanism, and accepted response format.
- Open the payload or request body and check field names, types, empty values, date formats, and encoded characters.
- Read the response or preview tab. A formatted JSON response is easier to compare with the request and the frontend’s expected shape.
- Compare the browser request with a known-good request from tests or a command-line tool. Use “Copy as cURL” only in a safe environment because copied commands can contain credentials or session tokens.
- Check the timing breakdown. A long queue, connection, request, or response phase points to different areas of investigation.
You need to debug a CORS error
- Identify the page origin and the API origin, including scheme, hostname, and port. A difference in any of these can make a request cross-origin.
- Look for an OPTIONS preflight request before the actual request. Inspect its status and response headers.
- Confirm that the server’s access-control response permits the requesting origin and the requested method and headers.
- Check whether credentials are involved. Cookies or other credentialed requests require compatible client and server settings; do not treat a permissive workaround as a production fix.
- Read the browser console alongside the Network panel. The console often explains which CORS condition failed, while the Network panel shows the exchanged headers.
CORS is enforced by the browser, so changing a frontend header alone may not solve the problem. The API, reverse proxy, or deployment configuration may need to return the correct response headers. Avoid disabling browser security as a normal debugging workflow.
A page or API feels slow
- Reload with the Network panel open and sort requests by duration or size.
- Separate server wait time from download time. A long waiting period suggests backend processing, an upstream dependency, connection setup, or queueing; a long download may indicate a large response or constrained connection.
- Look for render-blocking scripts and styles, oversized images, repeated requests, third-party resources, and requests that start later than expected.
- Inspect response headers for cache-related behavior and compare repeat visits. Test both a clean load and a warmed-cache load when cache behavior is part of the issue.
- Record the slowest request URL, method, status, size, timing, and a reproducible page state before changing code.
What to double-check
Status codes are clues, not complete diagnoses. A 2xx response indicates that the HTTP exchange succeeded, but the response may contain a business error or unusable data. A 3xx response may reveal an unexpected redirect, such as a change from HTTP to HTTPS, a login redirect, or a trailing-slash mismatch. A 4xx response usually requires checking the URL, method, authentication, permissions, validation, or request format. A 5xx response points toward server-side processing or an upstream service, although the request itself may still expose useful evidence.
Review headers on both sides of the exchange. Request headers can reveal the content type, origin, referer, accepted formats, cookies, and authorization context. Response headers can reveal content type, cache instructions, redirects, server timing information, and cross-origin permissions. Do not paste tokens, cookies, API keys, personal data, or full copied requests into tickets or public issue reports. Redact them first.
For authentication failures, inspect whether the request was sent with the expected credential type and whether a redirect replaced the API response with an HTML login page. A JWT can be decoded to inspect claims such as expiration during debugging, but decoding does not verify its signature or make the token safe to share. Use the JWT decoder and debugging guide for a safer review checklist.
For deployment-specific failures, compare the working and failing environments: base URL, protocol, proxy path, allowed origin, environment variables, asset version, and cache state. If a request works locally but fails after release, capture the exact production request rather than relying on a local reproduction.
Common mistakes
- Opening DevTools after the failure: the request may already be gone. Open the panel first and reload or reproduce the action.
- Filtering too narrowly: a failed request may be labeled Fetch, XHR, Document, or Other depending on how it was made. Clear filters before concluding that nothing was sent.
- Looking only at the status code: inspect the payload, response body, headers, and timing as well.
- Confusing CORS with authentication: a missing permission header, an expired credential, and a browser-enforced cross-origin failure can appear together but require different fixes.
- Ignoring preflight requests: an OPTIONS failure can prevent the intended request from being sent at all.
- Testing only with cache disabled: this is useful for diagnosis, but it may hide a production cache problem. Test normal behavior too.
- Sharing sensitive exports: HAR files, copied cURL commands, and screenshots can contain cookies, authorization headers, query parameters, and user data.
- Changing several variables at once: capture a baseline, change one factor, and repeat the request so the result remains understandable.
Network debugging also works best alongside other checks. For accessible interface failures, pair the request investigation with the web accessibility testing workflow. If a release pipeline is producing different assets or environment settings, review the GitHub Actions CI/CD guide for a repeatable deployment process.
When to revisit
Keep this checklist nearby whenever a form breaks, an API contract changes, authentication is introduced, a domain or proxy changes, a deployment behaves differently, or a page becomes slower. Revisit the workflow before major release cycles and after browser, framework, hosting, API gateway, or caching changes. DevTools labels and capabilities can change, and protocol details may affect how requests are grouped or displayed, so verify the equivalent panel and filter names in the browser version used by your team.
Before closing an incident, save a short, redacted record: the page and environment, reproduction steps, request URL and method, status, relevant headers, response summary, timing, and the confirmed cause. Then turn the fix into a regression test, monitoring check, or deployment validation step where practical.
Action checklist: open Network, preserve logs if needed, reproduce once, find the request, verify URL and method, inspect payload and response, read headers, check timing and cache, compare environments, redact sensitive evidence, and document the smallest confirmed fix. That sequence turns browser network request debugging from guesswork into a repeatable developer workflow.