错误:找不到请求的实体。在FirebaseMessagingError.FirebaseError [作为构造函数]

时间:2020-07-28 23:11:15

标签: firebase push-notification firebase-admin

firebase何时推送通知

firebaseAdmin.messaging().sendMulticast(message)

我理解并出错

 // Error: Requested entity was not found. at FirebaseMessagingError.FirebaseError [as constructor]
 // code: "messaging/registration-token-not-registered", message: "Requested entity was not found."

1 个答案:

答案 0 :(得分:1)

简短答案请尝试客户注册令牌,并从您的客户那里获取新的注册令牌

提供的注册令牌已不再注册。

文档来源:https://firebase.google.com/docs/cloud-messaging/send-message#admin