Prompt
Why are my APNs pushes failing after iOS update?
Latest observation
APNs pushes can start failing after an iOS update for a few common reasons, but the exact cause depends on what “failing” means:
- Pushes are accepted by APNs but never show up on the device
- APNs returns an error like
BadDeviceToken,Unregistered,TopicDisallowed, etc. - They work in development but not production after the update
- They work on some devices but not others
Here are the most common causes after an iOS update:
1) APNs token changed after reinstall/restore/update behavior
An iOS update, app reinstall, restore, or device state change can cause the device token to change.
If your backend keeps using an old token, pushes will fail or be dropped.
Check:
- Are you storing the latest
deviceTokenfromdidRegisterForRemoteNotifications...? - Do you replace old tokens when a new one arrives?
- Do you remove tokens that APNs reports as invalid/unregistered?
2) App entitlement / push capability mismatch
If the app was rebuilt after the update or you changed signing, APNs can fail because of:
- wrong bundle identifier
- incorrect APNs environment (sandbox vs production)
- missing Push Notifications capability
- broken provisioning profile
- wrong apns-topic header
Check:
- Bundle ID matches exactly
- Using correct certificate/key for the environment
apns-topicmatches your app’s bundle ID- If using a VoIP or extension topic, it matches that target too
3) APNs authentication key/certificate issues
If you use a certificate, it may have expired or no longer match the environment.
If you use a JWT auth key, the key ID/team ID or token generation may be wrong, or your server clock may be skewed.
Check:
- Certificate expiration
- JWT
iss,kid, andiat - Server time sync (NTP)
- Use of the correct APNs endpoint:
api.sandbox.push.apple.comfor developmentapi.push.apple.comfor production
4) iOS permissions/settings changed
After an update, the user may have:
- disabled notifications
- Focus mode / Do Not Disturb enabled
- notification summary enabled
- background refresh disabled
- Low Power Mode affecting delivery timing
These don’t usually cause APNs errors, but can make it seem like pushes are failing.
Check:
- Settings → Notifications → your app
- Focus modes
- App notification authorization status in your app
5) Push payload invalid or not compatible with current iOS behavior
If your payload is malformed, or you’re using features affected by iOS changes, delivery can fail or be delayed.
Common issues:
- Missing required
apsstructure - Wrong
apns-push-type - Incorrect
content-availableusage - Priority mismatch
- Payload too large
- Bad JSON formatting
For modern APNs, verify headers:
apns-topicapns-push-type(alert,background,voip, etc.)apns-priority
6) App was updated but remote notifications registration is not happening
After an update, the app may not be re-registering for remote notifications properly.
Check app lifecycle code:
registerForRemoteNotifications()is called- Notification authorization is requested
didRegisterForRemoteNotifications...callback fires- Any token upload to your backend happens successfully
7) Device-side restrictions
Some device states can block or delay pushes:
- no network connection
- VPN/firewall interference
- MDM restrictions
- battery/network optimization
- background app refresh disabled
- app force-quit can suppress background delivery in some cases
8) APNs feedback / error response changed after update
If you’re seeing server responses, look at the exact APNs error:
BadDeviceToken→ wrong token or wrong environmentUnregistered→ token is no longer valid; remove itDeviceTokenNotForTopic→ topic/bundle mismatchTopicDisallowed→ entitlement or topic problemPayloadTooLarge→ payload exceeds limitTooManyRequests→ throttlingExpiredProviderToken/InvalidProviderToken→ JWT issue
What to do next
If you want to diagnose this quickly, check:
- APNs response error code
- Whether the device token changed
- Sandbox vs production endpoint
apns-topicand bundle ID match- Push entitlement/provisioning profiles
- Device notification settings
- Your server logs and request headers
If you share this, I can help pinpoint it
Paste any of the following and I can narrow it down:
- the APNs error response
- your APNs request headers
- whether you use certificate or token-based auth
- the iOS version that broke it
- whether the app is using sandbox or production
- any relevant server log line
If you want, I can also give you a step-by-step APNs troubleshooting checklist or help interpret a specific APNs error.