# Node-red-contrib-fcm-push-node

**URL:** <https://discourse.nodered.org/t/node-red-contrib-fcm-push-node/49056>\
**Category:** General\
**Created:** [29 July 2021 01:59 UTC](https://discourse.nodered.org/t/node-red-contrib-fcm-push-node/49056 "2021-07-29T01:59:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![olie](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@olie](https://discourse.nodered.org/u/olie)\
**Post date:** [29 July 2021 01:59 UTC](https://discourse.nodered.org/t/node-red-contrib-fcm-push-node/49056/1 "2021-07-29T01:59:01Z")

</div>

Hi.  
Is this node working? I cannot send notifications and I get no error messages. I have tried both Server Key and Sender ID as FCM\_SERVER\_KEY environment variable. I use "to": "FCM registration token", which works when I send notifications from Firebase. I inject a msg.payload as JSON:  
{  
"to": "FCM registration token",  
"notification": {  
"title": "My title",  
"body": "My body"  
}  
}

I am gratefful if anyone using this node successfully will give me some advice.

Best regards  
Ola Lie

---

<div class="post-metadata">

**Author:** ![olie](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@olie](https://discourse.nodered.org/u/olie)\
**Post date:** [29 July 2021 13:10 UTC](https://discourse.nodered.org/t/node-red-contrib-fcm-push-node/49056/2 "2021-07-29T13:10:00Z")

</div>

I found a workaround.

In node-RED when I deploy a fcm-push node, I get a red circle indicating an error with no description.

However, it works when I send a push notifications using the fcm-push package.

So, I made a function node in Node-Red doing the same thing, adding the fcm-push module under the setup tab.

Conclusion: I am not using Node-red-contrib-fcm-push-node
