# Getting error while training json data

**URL:** <https://forum.rasa.com/t/getting-error-while-training-json-data/11950>\
**Category:** Rasa Open Source\
**Created:** [June 24, 2019, 6:57am UTC](https://forum.rasa.com/t/getting-error-while-training-json-data/11950 "2019-06-24T06:57:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gcgloven](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gcgloven/32/3915_2.png) [@gcgloven](https://forum.rasa.com/u/gcgloven)\
**Post date:** [June 24, 2019, 8:52am UTC](https://forum.rasa.com/t/getting-error-while-training-json-data/11950/2 "2019-06-24T08:52:46Z")

</div>

Hi Prasanth,

Your json file format is wrong, your {} arrangement has a missing pair or extra pair here and there.

I’d recommend you using the md format of writing your nlu.md/data.json files. if you need to convert md file to json, you can use the following method in terminal

> usage: rasa data convert nlu [-h] [-v] [-vv] [–quiet] --data DATA --out OUT [-l LANGUAGE] -f {json,md}

> I formated your contents in this md file [help.md](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/f98df1c6ab69dc8175e0dc537a55f86001d7d8a7.md) (248 Bytes)

for Json format: { “rasa\_nlu\_data”: { “common\_examples”: [{ “intent”: “sendPin”, “entities”: [ { “start”: 5, “end”: 16, “value”: “fgrekjbgjgr”, “entity”: “pinname” }, { “start”: 30, “end”: 34, “value”: “mani”, “entity”: “person” }], “text”: “send fgrekjbgjgr pin board to mani” }, { “intent”: “sendPin”, “entities”: [{ “start”: 8, “end”: 18, “value”: “svfkjgvnrb”, “entity”: “pinname” }, { “start”: 31, “end”: 35, “value”: “gopi”, “entity”: “person” }], “text”: “forward svfkjgvnrb pinboard to gopi” }, { “intent”: “sendPin”, “entities”: [{ “start”: 6, “end”: 16, “value”: “refkregrek”, “entity”: “pinname” }, { “start”: 24, “end”: 30, “value”: “mahesh”, “entity”: “person” }], “text”: “share refkregrek pin to mahesh” }, { “intent”: “sendPin”, “entities”: [{ “start”: 9, “end”: 14, “value”: “rewfr”, “entity”: “pinname” }, { “start”: 28, “end”: 34, “value”: “ganesh”, “entity”: “person” }], “text”: “send the rewfr pin board to ganesh” } ], “regex\_features”: , “lookup\_tables”: , “entity\_synonyms”: } }

---

_[View the full topic](https://forum.rasa.com/t/getting-error-while-training-json-data/11950)._
