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

Amr*_*him 3 push-notification firebase firebase-admin

firebase 何时推送通知

firebaseAdmin.messaging().sendMulticast(message)
Run Code Online (Sandbox Code Playgroud)

我得到并错误

 // Error: Requested entity was not found. at FirebaseMessagingError.FirebaseError [as constructor]
 // code: "messaging/registration-token-not-registered", message: "Requested entity was not found."
Run Code Online (Sandbox Code Playgroud)

Amr*_*him 5

简短回答尝试新的客户端注册令牌,并从您的客户端获取新的注册令牌

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

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