# Mongodb4 hangs randomly

**URL:** <https://discourse.nodered.org/t/mongodb4-hangs-randomly/90219>\
**Category:** General\
**Tags:** database\
**Created:** [16 August 2024 16:35 UTC](https://discourse.nodered.org/t/mongodb4-hangs-randomly/90219 "2024-08-16T16:35:52Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 August 2024 09:14 UTC](https://discourse.nodered.org/t/mongodb4-hangs-randomly/90219/7 "2024-08-18T09:14:47Z")

</div>

Can you add debug nodes to the outputs of the mongo nodes, set to Output Complete Message, and capture the output and paste it here so I can simulate the flow. This canned text explains how to copy output from the debug window in a way that can be copied and used in a flow:

There’s a great page in the docs ([Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)) that will explain how to use the debug panel to find the right path/value for any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

![BX00Cy7yHi](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd1f333a9e043b061b39917c328b0094d3e52d30.gif)

* * *

Also, in future, if posting a flow, code or data, rather than attaching a file, please use the method explained in this canned text:

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/mongodb4-hangs-randomly/90219)._
