# Problem using "apoc.mongodb.get"

**URL:** <https://community.neo4j.com/t/problem-using-apoc-mongodb-get/22948>\
**Category:** Procedures & APOC\
**Tags:** apoc\
**Created:** [August 5, 2020, 4:14pm UTC](https://community.neo4j.com/t/problem-using-apoc-mongodb-get/22948 "2020-08-05T16:14:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![olafo987](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/olafo987/32/5526_2.png) [@olafo987](https://community.neo4j.com/u/olafo987)\
**Post date:** [August 5, 2020, 4:14pm UTC](https://community.neo4j.com/t/problem-using-apoc-mongodb-get/22948/1 "2020-08-05T16:14:54Z")

</div>

Hi all

I need your help, I am trying to import data from a Mongo DB to Neo4J version 3.5.13 using "apoc.mongodb.get" using a call similar to the following:

```auto
CALL apoc.periodic.iterate(
	'call apoc.mongodb.get(
		"mongodb://mongo_user:mongo_pwd@mongo_db:27017/mongo_db","mongo_db","mongo_collection",{})',
	'CREATE (e:Entitat {identificador : value.keyEntity}) SET 
		e.nif=value.nif, e.entity_name=value.entity_name, e.tax=value.tax, e.tipology=value.tipology, e.type_entity=value.typeEntity, 
		e.id_mongo=value._id', 
	{batchSize:10000, parallel:true});

```

In the mongo collection I have 10240 documents but in Neo4J more than a million nodes are created, do you have any idea that I can be doing wrong ?.

I apologize for my poor English and thank you in advance for any help.

Regards  
Juan Carlos Pérez C
