Firebase Cloud Messaging Notifications Not Received
Quick answer
Push messages fail to show because of stale tokens (UNREGISTERED), foreground handling, firewall ports, throttling, or invalid APNs credentials on iOS. Read the FCM error code first.
Most likely fix: Read the error code
How to fix it
Try these in order — the most common fix is first.
1. Read the error code
- Check the FCM v1 response status and the details array
Did this fix it?2. Remove dead tokens
- On UNREGISTERED, delete the token from your server and re-fetch tokens on app start
Did this fix it?3. Fix iOS credentials
- Upload a valid APNs authentication key in Project settings > Cloud Messaging
- Check development vs production keys
Did this fix it?4. Handle foreground messages
- Add onMessage / onMessageReceived handling; background notification messages go to the system tray
Did this fix it?5. Network and throttling
- Allow ports 5228, 5229 and 5230 and Google ASN 15169
- Spread sends over about 5 minutes and retry 429 with backoff
Did this fix it?6. Exclude installation file from Android backups
- Add an exclude rule for the Firebase PersistedInstallation file to stop duplicate tokens after restore
Did this fix it?
Symptoms
Messages sent from console or API but nothing appears, or 404/403/401/429 responses from FCM.
Why it happens
- Token is stale or unregistered (HTTP 404 UNREGISTERED)
- Sender ID mismatch (403)
- APNs key or certificate missing or invalid (401 THIRD_PARTY_AUTH_ERROR)
- App in foreground and no handler for notification messages
- Firewall blocking ports 5228-5230
- Throttling (429 QUOTA_EXCEEDED)
- Android backup restore duplicating installation IDs
This guide also covers
- fcm notifications not received
- firebase push notification not working
- firebase messaging unregistered
- sender_id_mismatch
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 notifications, reminders & messages not sending guides →
- Supabase Confirmation Email Not Sending (Supabase)
Other Firebase errors
- Firestore Missing or Insufficient Permissions (permission-denied)
- Firebase auth/invalid-api-key Error
- Firebase auth/network-request-failed 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 Deploy Failed (Functions and Hosting)