# Save data in local Mongodb

**URL:** <https://discourse.nodered.org/t/save-data-in-local-mongodb/25919>\
**Category:** General\
**Created:** [2 May 2020 12:13 UTC](https://discourse.nodered.org/t/save-data-in-local-mongodb/25919 "2020-05-02T12:13:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MoMo](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@MoMo](https://discourse.nodered.org/u/MoMo)\
**Post date:** [2 May 2020 12:13 UTC](https://discourse.nodered.org/t/save-data-in-local-mongodb/25919/1 "2020-05-02T12:13:16Z")

</div>

Hi everybody,

I'm struggeling with mongodb. How can i save Data in my mongodb on my PC?  
I installed the mongodb2 at node-red and also locally on my PC. When i deploy and push the inject node, there is a debugging output: msg:error: "TypeError: Cannot create property '\_id' on number '2'"

Do you have any ideas to help me to solve the problem?

---

<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:** [1 July 2020 12:13 UTC](https://discourse.nodered.org/t/save-data-in-local-mongodb/25919/2 "2020-07-01T12:13:31Z")

</div>

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