-
Notifications
You must be signed in to change notification settings - Fork 407
Open
Labels
Description
[REQUIRED] Environment
- Operating System version: macOS 15.7.2 (24G325)
- Firebase SDK version: 13.6.0
- Firebase Product: messaging
- Node.js version: 22.18.0
- NPM version: 10.9.3
[REQUIRED] The problem
Steps to reproduce:
- Send push messages with
sendEachForMulticast() - Inspect the return value (
SendResponse[]) - If a
SendResponsehas an error, theSendResponse.error.codeisundefined
Relevant Code:
const result = await sendEachForMulticast(/* ... */)
result.failureCount && result?.responses ?? [] ).forEach(
response => console.log( response.error.code, response.error )
);