The request never got an answer
What is this error?
Your browser tried to reach a URL and the conversation never completed. This is a connection problem, not a code logic problem.
Common Causes
- The API URL is wrong or points at localhost in production.
- The server or function is down or crashed.
- CORS blocked the response before your code could read it.
- The user is offline, or an extension blocked the request.
How to fix it (Check First)
- 1Open DevTools → Network, click the failed request, read the actual URL.
- 2Paste that URL into a new tab. Does anything respond?
- 3Check the Console for a separate CORS message.
What NOT to do
- Do not add try/catch to hide it. Silence is not a fix.
Technical Details
fetch() rejects only on network-layer failures. An HTTP 500 resolves successfully with ok === false — so a rejection means DNS, TLS, connectivity or a blocked preflight.