In Cloud messaging, my console says my device is opted out, but the device itself says that push notifications are allowed.

I think something is going wrong with the registration process... I never received a prompt asking if I want to opt in.  


The device log says registration failed, and invalid sender.  Here are some details:

com.urbanairship.push.PushProvider$RegistrationException: GCM registration failed.
at com.urbanairship.push.gcm.GcmPushProvider.getRegistrationToken(
at com.urbanairship.push.PushManagerJobHandler.onUpdatePushRegistration(
at com.urbanairship.push.PushManagerJobHandler.performJob(
at com.urbanairship.push.PushManager.onPerformJob(
at com.urbanairship.job.Job$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$


I've switched back and forth between GCM and FCM and tried multitudes of API key and sender ID combos. No luck.



Didn't find what you were looking for?

New post


1 comment

  • Hello Chava, 

    This is Mikey with Airship Technical Support. I understand you're having trouble with GCM/FCM registration. Have you had a chance to take a look at out GCM/FCM troubleshooting guide? This is a good place to address invalid sender errors. You can also take a look at our Android troubleshooting guide for further assistance.


    Something important to note: If you are calling takeoff using the AutoPilot class you should not receive any notification prompt in order to start receiving pushes. 


    Please let me know if you have any questions or need further assistance and I'll be happy to assist! 


    Best regards, 

    Mikey R.

    Airship | Technical Support Engineer | Portland, OR

    Comment actions Permalink

Please sign in to leave a comment.