Skip to content

Getting TOO_MANY_REGISTRATIONS error from OneSignal (FCM Token Fetching) #2496

@gnanavelcoderays

Description

@gnanavelcoderays

Description

I am using OneSignal for push notifications in my Android application.
I am not calling FirebaseMessaging.getToken() anywhere in my code.
I rely only on OneSignal to fetch and manage the FCM token.

However, I still keep getting this error:

java.io.IOException: TOO_MANY_REGISTRATIONS

This error appears repeatedly in the logs during app startup, even after ensuring:

OneSignal is initialized only in the Application class

I am not initializing OneSignal in any Activity or Fragment

No background service is initializing OneSignal

No multiple processes in AndroidManifest.xml

I am not using FirebaseMessaging.getToken() manually

But the error continues to appear.

Additionally:
I checked the device in the OneSignal User Dashboard — it shows “Status: Never Subscribed”. ✅ This is the major problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions