Closed rodolfoamarques closed 4 hours ago
I found a few problems with this issue:
Thanks @devj3ns !
Hey folks, please see my response in https://github.com/firebase/firebase-admin-node/issues/2602#issuecomment-2322053273
The deprecated endpoints mentioned in the issue are being used in sendToTopic
and sendToCondition` APIs. These APIs are now deprecated in v12.4.0+
Describe your environment
Describe the problem
the
messaging().send()
method continues to utilise the old API even though it has been deprecated since 2023 and removed since June 2024 as per this documentationSteps to reproduce:
Calls/Usage of the above method results in a
TOPIC_MESSAGE_RATE_EXCEEDED
error.Relevant Code:
in this very repository we can find the following code:
According to the latest documentation, the API to be used should be https://fcm.googleapis.com/v1/projects/{PROJECT_ID}/messages:send