Reputation: 346
I'm reciving error "Topic quota exceeded" when trying to send a push. I thought Firebase Cloud Messaging doesn't had limitations, what I' doing wrong?
Upvotes: 3
Views: 5341
Reputation: 9139
There is no limit how many topics you can create in Firebase Cloud Messaging (FCM).
The "Topic quota exceeded" message is related to one of the limitations.
Please add a retry logic for FCM API calls.
Upvotes: 0
Reputation: 52
As for as I know there is no limitations. you can reach 1000 at once. But If you are over that firebase will need some more time to send to everyone. Even If you use own server to send push notification it will be same
The frequency of new subscriptions is rate-limited per project. If you send too many subscription requests in a short period of time, FCM servers will respond with a "quota exceeded" response.
There is no limit for topics, but there is a time limit for processing those after crossing certain number. FCM limit the number of concurrent message fanouts per project to 1,000. After that, FCM may reject additional fanout requests or defer the fanout of the requests until some of the already in progress fanouts complete. I attached the related DOCS below, please go through that for more info.
Upvotes: 1