Skip to content

iOS, Mac OS X, Safari errors

ErrorDescriptionWhat to do
BadCertificateThe APNS certificate for this application is invalid.Create a valid certificate using this guide and check that the platform is configured correctly.
BadDeviceTokenThe specified device token is invalid. Therefore, the device will be unsubscribed from notifications.Verify that the request contains a valid token and that the token matches the environment.
DeviceTokenNotForTopicThe specified token is unsuitable for sending notifications to the specified topic (package name specified when creating the iOS app). The device will be unsubscribed from notifications.Use the token that is suitable for sending notifications to this topic.
ExpiredCertificateThe APNS certificate for this application has expired.Create a valid certificate using this guide and check that the platform is configured correctly.
FrequencyCappingThe device was filtered by Frequency Capping.If such behavior was not intended, check the Frequency Capping settings.
InvalidCertificateThe APNS certificate for this application is invalid.Create a valid certificate using this guide and check that the platform is configured correctly.
InvalidProviderTokenThe specified token is invalid or signed with an invalid certificate. Notifications will no longer be sent to the platform where this error occurred.Check that the platform is configured correctly.
InvalidTokenThe specified token is invalid. Notifications will no longer be sent to the platform where this error occurred.

Check that the platform is configured correctly.

This error usually points to the mismatch between gateways (for example, if you’re sending pushes to your development/sandbox build through the production gateway or vice versa). Also, some of your users may have another build installed on their devices.

MissingDeviceTokenThe device token isn’t specified in the request.Verify that the header contains the device token.
PayloadIsTooLargeThe message size exceeds 4096 bytes.Reduce the message size.
RevokedCertificateThe APNS certificate for this application has been revoked via the Apple Developer admin panel. Push notifications will be disabled for this platform.Renew your certificate using this guide.
SandboxSendingErrorFailed to send message to the sandbox APNS environment.Try sending the message again later.
TimeoutExceededMultiple attempts to send a message to the device within 1 hour were unsuccessful, as the APNS server did not respond.Try sending the message again later.
UnregisteredThe token is no longer valid. The device will be unsubscribed from notifications.Use a new token.