# MongoDB node: fields.split is not a function

**URL:** <https://community.n8n.io/t/mongodb-node-fields-split-is-not-a-function/61978>\
**Category:** Questions\
**Created:** [November 15, 2024, 6:11pm UTC](https://community.n8n.io/t/mongodb-node-fields-split-is-not-a-function/61978 "2024-11-15T18:11:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crayonan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/crayonan/32/48843_2.png) [@Crayonan](https://community.n8n.io/u/Crayonan)\
**Post date:** [November 15, 2024, 6:11pm UTC](https://community.n8n.io/t/mongodb-node-fields-split-is-not-a-function/61978/1 "2024-11-15T18:11:31Z")

</div>

Dear N8N community,

I am fairly new to n8n and trying to figure everything out step by step, I am trying to insert data into my MongoDB database

## What is the error message (if any)?

Problem in node ‘MongoDB‘

fields.split is not a function

## Please share your workflow

```auto

## Information on your n8n setup
- **n8n version: 1.67.1**
- **Database (default: SQLite): (postgres:16-alpine)**
- **n8n EXECUTIONS_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker**
- **Operating system: Ubuntu 22.04**
```

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [November 15, 2024, 10:38pm UTC](https://community.n8n.io/t/mongodb-node-fields-split-is-not-a-function/61978/2 "2024-11-15T22:38:46Z")

</div>

Welcome to the community @Crayonan !

> **Tip for sharing information**
>
> #### Pasting your n8n workflow
> 
> * * *
> 
> Ensure to copy your n8n workflow and paste it in the _code block_, that is in between the pairs of triple backticks, which also could be achieved by clicking `</>` (preformatted text) in the editor and pasting in your workflow.
> 
> ```  
> \<your workflow\>  
> ```
> 
> That implies to any JSON output you would like to share with us.
> 
> Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!
> 
> * * *

The “Fields” box expects the comma-separated names of the fields you want to insert, not the actual item (object). Those names are the property names of the incoming item.

For example,

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/7/6/76477cffaf2082fc25d6ee071881074d9d103cef.png)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [February 13, 2025, 10:39pm UTC](https://community.n8n.io/t/mongodb-node-fields-split-is-not-a-function/61978/3 "2025-02-13T22:39:15Z")

</div>

Closed on February 13, 2025, 10:39pm UTC

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