Skip to content

Subscription status automatically changes to ‘Never Subscribed’ when receiving push notification #2420

@TamilCodeRays

Description

@TamilCodeRays

How can we help?

After restarting my mobile, OneSignal is showing an error, and my subscription status has changed to ‘Never Subscribed’. I had been receiving notifications normally for the past 20 days.

this is my log

[AppDetails-Worker] OperationRepo.enqueue(operation: {"name":"update-subscription","appId":"","onesignalId":"","subscriptionId":","type":"PUSH","enabled":false,"address":"","status":"FIREBASE_FCM_ERROR_IOEXCEPTION_OTHER"}, flush: false)

[Thread-28] Error Getting FCM Token (Ask Gemini)
java.lang.Exception: java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: TOO_MANY_REGISTRATIONS
at com.onesignal.notifications.internal.registration.impl.PushRegistratorAbstractGoogle.attemptRegistration(SourceFile:181)
at com.onesignal.notifications.internal.registration.impl.PushRegistratorAbstractGoogle.registerInBackground(SourceFile:93)
at com.onesignal.notifications.internal.registration.impl.PushRegistratorAbstractGoogle.internalRegisterForPush(SourceFile:83)
at com.onesignal.notifications.internal.registration.impl.PushRegistratorAbstractGoogle.registerForPush$suspendImpl(SourceFile:92)
at com.onesignal.notifications.internal.registration.impl.PushRegistratorAbstractGoogle.registerForPush(Unknown Source:0)
at com.onesignal.notifications.internal.pushtoken.PushTokenManager.retrievePushToken(SourceFile:83)
at com.onesignal.notifications.internal.listeners.DeviceRegistrationListener$retrievePushTokenAndUpdateSubscription$1.invokeSuspend(SourceFile:35)
at com.onesignal.notifications.internal.listeners.DeviceRegistrationListener$retrievePushTokenAndUpdateSubscription$1.invoke(SourceFile:2)
at com.onesignal.notifications.internal.listeners.DeviceRegistrationListener$retrievePushTokenAndUpdateSubscription$1.invoke(SourceFile:1)
at com.onesignal.common.threading.ThreadUtilsKt$suspendifyOnThread$1$1.invokeSuspend(SourceFile:31)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:12)
at kotlinx.coroutines.DispatchedTask.run(SourceFile:126)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(SourceFile:19)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(SourceFile:27)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(SourceFile:77)
at kotlinx.coroutines.f.e(SourceFile:1)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(SourceFile:7)
at kotlinx.coroutines.f.f(SourceFile:1)
at com.onesignal.common.threading.ThreadUtilsKt$suspendifyOnThread$1.invoke(SourceFile:2)
at com.onesignal.common.threading.ThreadUtilsKt$suspendifyOnThread$1.invoke(SourceFile:1)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(SourceFile:3)
Caused by: java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: TOO_MANY_REGISTRATIONS
at com.google.firebase.messaging.FirebaseMessaging.blockingGetToken(SourceFile:67)
at com.google.firebase.messaging.FirebaseMessaging.lambda$getToken$4(SourceFile:1)
at com.google.firebase.messaging.FirebaseMessaging.a(SourceFile:1)
at com.google.firebase.messaging.o.run(SourceFile:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:524)
at java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:348)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at com.google.android.gms.common.util.concurrent.zza.run(SourceFile:7)
at java.lang.Thread.run(Thread.java:1119)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: TOO_MANY_REGISTRATIONS
at com.google.android.gms.tasks.Tasks.zza(SourceFile:32)
at com.google.android.gms.tasks.Tasks.await(SourceFile:9)
at com.google.firebase.messaging.FirebaseMessaging.blockingGetToken(SourceFile:55)
at com.google.firebase.messaging.FirebaseMessaging.lambda$getToken$4(SourceFile:1) 
at com.google.firebase.messaging.FirebaseMessaging.a(SourceFile:1) 
at com.google.firebase.messaging.o.run(SourceFile:1) 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:524) 
at java.util.concurrent.FutureTask.run(FutureTask.java:317) 
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:348) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651) 
at com.google.android.gms.common.util.concurrent.zza.run(SourceFile:7) 
at java.lang.Thread.run(Thread.java:1119) 
Caused by: java.io.IOException: TOO_MANY_REGISTRATIONS
at com.google.firebase.messaging.GmsRpc.handleResponse(SourceFile:41)
at com.google.firebase.messaging.GmsRpc.lambda$extractResponseWhenComplete$0(SourceFile:9)
at com.google.firebase.messaging.GmsRpc.a(SourceFile:1)
at com.google.firebase.messaging.v.then(SourceFile:1)
at com.google.android.gms.tasks.zzc.run(SourceFile:27)
at androidx.credentials.h.execute(SourceFile:1)
at com.google.android.gms.tasks.zzd.zzd(SourceFile:8)
at com.google.android.gms.tasks.zzr.zzb(SourceFile:38)
2025-11-24 19:29:40.268 31707-31844 OneSignal com.coderays.tamilcalendar E at com.google.android.gms.tasks.zzw.zzb(SourceFile:15) (Ask Gemini)
at com.google.android.gms.tasks.zzc.run(SourceFile:37)
at com.google.android.gms.cloudmessaging.zzy.execute(Unknown Source:0)
at com.google.android.gms.tasks.zzd.zzd(SourceFile:8)
at com.google.android.gms.tasks.zzr.zzb(SourceFile:38)
at com.google.android.gms.tasks.zzw.zzb(SourceFile:15)
at com.google.android.gms.tasks.TaskCompletionSource.setResult(SourceFile:3)
at com.google.android.gms.cloudmessaging.zzr.zzd(SourceFile:48)
at com.google.android.gms.cloudmessaging.zzt.zza(SourceFile:11)
at com.google.android.gms.cloudmessaging.zzk.handleMessage(SourceFile:108)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loopOnce(Looper.java:282)
at android.os.Looper.loop(Looper.java:387)
at android.app.ActivityThread.main(ActivityThread.java:9500)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)
2025-11-24 19:29:40.454 31707-31789 OneSignal com.coderays.tamilcalendar D [OpRepo] processQueueForever:ops:

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions