# Not able to store notification message with size more than 16 MB in mongoDB node

**URL:** <https://discourse.nodered.org/t/not-able-to-store-notification-message-with-size-more-than-16-mb-in-mongodb-node/49603>\
**Category:** Developing Nodes\
**Created:** [11 August 2021 07:48 UTC](https://discourse.nodered.org/t/not-able-to-store-notification-message-with-size-more-than-16-mb-in-mongodb-node/49603 "2021-08-11T07:48:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amar1268](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@amar1268](https://discourse.nodered.org/u/amar1268)\
**Post date:** [11 August 2021 07:48 UTC](https://discourse.nodered.org/t/not-able-to-store-notification-message-with-size-more-than-16-mb-in-mongodb-node/49603/1 "2021-08-11T07:48:33Z")

</div>

I have made Dashboard using node-RED which shows the list of incoming and outgoing messages. We are using mongoDB node to store incoming and outgoing messages.

The Problem here is the limitation of BSON-document type storing specification which can't store data with size greater than 16 MB in mongoDB.

I have gone through some articles which suggest in this case I need to use GridFS storing type specification it can store data with size greater than 16 MB as well in mongoDB.

So can you please let me know how to configure mongoDB node so that it can store any sized data.

---

<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:** [10 October 2021 07:49 UTC](https://discourse.nodered.org/t/not-able-to-store-notification-message-with-size-more-than-16-mb-in-mongodb-node/49603/2 "2021-10-10T07:49:02Z")

</div>

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