There is no hard limit on the number of topics that an instance can subscribe to, this limit, like many other FCM restrictions, helps prevent abuse. You are unlikely to reach the limit if an instance is signed by less than a few thousand topics. If, however, this is not enough, and you really click on the subscription restriction, I would advise you to contact Firebase support.
source share