# Problems with running Mongodb River for ES

**URL:** <https://discuss.elastic.co/t/problems-with-running-mongodb-river-for-es/7801>\
**Category:** Elasticsearch\
**Created:** [May 22, 2012, 6:30am UTC](https://discuss.elastic.co/t/problems-with-running-mongodb-river-for-es/7801 "2012-05-22T06:30:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serikozz](https://avatars.discourse-cdn.com/v4/letter/s/45deac/32.png) [@Serikozz](https://discuss.elastic.co/u/Serikozz)\
**Post date:** [May 22, 2012, 6:30am UTC](https://discuss.elastic.co/t/problems-with-running-mongodb-river-for-es/7801/1 "2012-05-22T06:30:22Z")

</div>

I am running exactly as you did  
curl -XPUT '[http://localhost:9200/\_river/test/\_meta](http://localhost:9200/_river/test/_meta)' -d '{  
"type": "mongodb",  
"mongodb": {  
"db": "test",  
"collection": "es\_test"  
},  
"index": {  
"name": "mongoindex",  
"type": "es\_test"  
}  
}'  
However I am getting the following exception again and again:

{"error":"MapperParsingException[Failed to parse]; nested:  
JsonParseException[Un  
expected character ('m' (code 109)): expected a valid value (number,  
String, array, object, 'true', 'false' or 'null')\n at [Source:  
[B@61f133ea; line: 1, column:8]]; ","status":400}

can you please point out what I am doing wrong? I am completely new to  
ElasticSearch and will appreciate your assistance.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:27am UTC](https://discuss.elastic.co/t/problems-with-running-mongodb-river-for-es/7801/2 "2017-07-06T03:27:43Z")

</div>


