richsage / RMSPushNotificationsBundle

NOT MAINTAINED! ⛔️ Push notifications/messages for mobile devices. Supports iOS, Android (C2DM, GCM), Blackberry and Windows Mobile (toast only). A Symfony2 bundle.
MIT License
321 stars 152 forks source link

app.ERROR: {"command":8,"status":7,"identifier":0} #166

Open thomalexandre opened 6 years ago

thomalexandre commented 6 years ago

Where can we find the explanations about the errors when sending push notifications via RMS ? I guess these are error from Apple, but what do they mean exactly?

jspizziri commented 6 years ago

@thomalexandre ,

That's the response from APNS itself. Here's the legacy response codes. That response means "Invalid Token" which means that APNS couldn't find the deviceId that you tried to send it. If you're certain you've registered it, then it may be due to registering the device with the wrong environment (i.e. registering it with production APNS but sending the PN to sandbox, or visa versa).