# From mqtt TO Firestore

**URL:** <https://discourse.nodered.org/t/from-mqtt-to-firestore/42258>\
**Category:** General\
**Created:** [8 March 2021 11:18 UTC](https://discourse.nodered.org/t/from-mqtt-to-firestore/42258 "2021-03-08T11:18:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bourton](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Bourton](https://discourse.nodered.org/u/Bourton)\
**Post date:** [8 March 2021 11:18 UTC](https://discourse.nodered.org/t/from-mqtt-to-firestore/42258/1 "2021-03-08T11:18:46Z")

</div>

Hi all,  
i have a problem to send data from mqtt to firestore.  
Iam using the pallett "nore-red-contrib-cloud-firestore"

I always got the following error and searching the web was not helpful.

"**Error: Firebase app named "" already exists. This means you called initializeApp() more than once with the same app name as the second argument. Make sure you provide a unique name every time you call initializeApp().**"

What i did:

1. Set the AdminNode with JSON in the configuration bar
2. create a node where collection is "sensors" and document is "value" (both doesn´t exists in firestore) i want to create if not available.
3. I add a mqtt publish in front of the firabase node

Is there something i missed or did wrong?

 ![NodeRedIssue](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/7/d7cf0c5a57d05f35f017f55f4a0cf78a14564527.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 March 2021 01:19 UTC](https://discourse.nodered.org/t/from-mqtt-to-firestore/42258/2 "2021-03-09T01:19:37Z")

</div>

Since no one has responded, might I suggest check thru the issues (open and closed) it it's [GitHub page](https://github.com/sichangi/node-red-contrib-cloud-firestore/issues?q=is%3Aopen+is%3Aissue)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 May 2021 01:20 UTC](https://discourse.nodered.org/t/from-mqtt-to-firestore/42258/3 "2021-05-08T01:20:12Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
