Keep receiving rejected device tokens


I've been having more and more troubles with getting rejected device tokens from APNS through UA.

Whenever I try to send a push message, it (sometimes) gets pushed trough the device the first few times. But after some time I receive no push notifications anymore and at that moment also notice that APNS has rejected the device token.

I've followed and tried all usual suspects:

- The bundle ID's are correct. Both in my build in the App Store, the certificates on UA and the entitlements

- The entitlements's aps-environment is in production, also verified this with the `codesign` tool

- Inside my app; the entitlements are set to the correct file and the target's relevant capabilities are on

- Inside my app; the UA app's key/secret are correct as I DO receive push but then randomly it stops and UA shows that the device token is rejected with APNS

- Inside my app; the UA config in the app is in production and as states above has the correct UA app key and secret

- I've checked and verified the issues and solutions stated here:

- I've checked and verified the issues and solutions stated here:


After all the above the push is still having problems when testing my app in TestFlight. Before I just renewed the push certificate of the app in question, but lately that "trick" doesn't work anymore and I keep on getting rejected tokens.

Could you guys help me out and fix the problems I encounter?



Didn't find what you were looking for?

New post


1 comment

  • Hi Luc,

    Thank you for writing in about the issue you're running into with rejected device tokens.

    I see that you are with The Others Online. As such, you can take advantage of a variety of support resources, including email support. It appears your colleague Gerald opened a ticket with us on Saturday about this same issue, so I have copied you on that ticket.

    You should see a response from us shortly requesting more details so we can better troubleshoot this issue.

    Thank you,
    Urban Airship Technical Support

    Comment actions Permalink

Please sign in to leave a comment.