Your iOS application platform may be automatically disabled if Apple's Push Notification service (APNs) reports that the authentication token or certificate configured for your application is invalid. This InvalidProviderToken
error can occur for several reasons:
- Expired Certificate: Your APNs push certificate (.p12 file) has expired.
- Revoked Key/Certificate: Your APNs authentication key (.p8 file) or certificate (.p12 file) was revoked in your Apple Developer account.
- Incorrect Environment: You might be using a Sandbox certificate/token for a Production build, or vice-versa.
- Invalid Key/Certificate: The uploaded key or certificate file itself is corrupted or incorrect.
- Bundle ID Mismatch: The certificate or key might not match the Bundle ID of your application.
To re-enable push notifications for your iOS application, you need to upload a new, valid APNs authentication key (.p8) or certificate (.p12):
- Log in to your Pushwoosh Control Panel.
- Navigate to the specific application that was disabled.
- Go to the platform configuration section for iOS.
- Upload a valid APNs Authentication Key (.p8 file) or Push Certificate (.p12 file) obtained from your Apple Developer account.
- Ensure you select the correct environment (Sandbox or Production) that matches your key/certificate.
- Save the configuration.
Once a valid key or certificate is uploaded and saved, the iOS platform for your application should be automatically re-enabled, allowing push notifications to be sent again.
Comments
0 comments
Please sign in to leave a comment.