Firebase auth/network-request-failed Error
Quick answer
The Auth SDK could not complete its request. Check connectivity, ad blockers or privacy extensions, API key restrictions in Google Cloud, and whether your code points at an emulator that isn't running.
Most likely fix: Rule out the network
How to fix it
Try these in order — the most common fix is first.
1. Rule out the network
- Test in an incognito window with extensions disabled
- Open DevTools > Network and look for blocked or 403 requests to identitytoolkit.googleapis.com
Did this fix it?2. Check API key restrictions
- Google Cloud console > APIs & Services > Credentials > your browser key
- Make sure the Identity Toolkit API is allowed and your domain is in the referrer list
Did this fix it?3. Check emulator settings
- Remove connectAuthEmulator in production builds
- Start the emulator and use the same auth instance everywhere
Did this fix it?4. Check proxies and service workers
- Do not proxy Firebase domains in your dev server
- Unregister service workers that cache auth endpoints
Did this fix it?
Symptoms
Firebase: Error (auth/network-request-failed) on sign-in, sign-up or token refresh.
Why it happens
- Device offline or request timing out
- Ad blocker or privacy extension blocking Google domains
- API key restrictions blocking identitytoolkit.googleapis.com (403)
- connectAuthEmulator called but emulator not running
- Dev proxy or service worker intercepting Firebase requests
This guide also covers
- auth/network-request-failed
- firebase network request failed
- firebase auth not working
Still not working?
If Firebase keeps failing, you're not alone. See every Firebase problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usThe same problem in other apps
All not loading, error messages & connection guides →
- Supabase Max Client Connections Reached (Supabase)
- MongoDB Atlas Connection Timed Out (IP Not Whitelisted) (MongoDB Atlas)
Other Firebase errors
- Firestore Missing or Insufficient Permissions (permission-denied)
- Firebase auth/invalid-api-key Error
- Firebase auth/too-many-requests Error
- Firebase auth/operation-not-allowed Error
- Firestore Quota Exceeded (resource-exhausted)
- Firebase Unexpected Bill on Blaze Plan
- Firebase Cloud Messaging Notifications Not Received
- Firebase Deploy Failed (Functions and Hosting)