# Unable to convert data to 2.x format using convertor

**URL:** <https://forum.rasa.com/t/unable-to-convert-data-to-2-x-format-using-convertor/38899>\
**Category:** Rasa Open Source\
**Created:** [January 12, 2021, 9:12am UTC](https://forum.rasa.com/t/unable-to-convert-data-to-2-x-format-using-convertor/38899 "2021-01-12T09:12:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThePhiri](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/thephiri/32/8821_2.png) [@ThePhiri](https://forum.rasa.com/u/ThePhiri)\
**Post date:** [January 12, 2021, 9:12am UTC](https://forum.rasa.com/t/unable-to-convert-data-to-2-x-format-using-convertor/38899/1 "2021-01-12T09:12:20Z")

</div>

Hello, I am tryng to migrate my nlu data using the command rasa data convert nlu -f yaml --data=./data/nlu --out=./data/nlu I am getting a key error “KeyError: ‘\t’”. How do i fix this?

 ![Screenshot 2021-01-12 at 11.03.17](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/3/325a4d13bb1ada9e02e925549887e76090d6d8d9.png)

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [January 13, 2021, 8:25am UTC](https://forum.rasa.com/t/unable-to-convert-data-to-2-x-format-using-convertor/38899/3 "2021-01-13T08:25:14Z")

</div>

Hello! Could you please share the files you’re attempting to convert?

---

<div class="post-metadata">

**Author:** ![ThePhiri](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/thephiri/32/8821_2.png) [@ThePhiri](https://forum.rasa.com/u/ThePhiri)\
**Post date:** [January 13, 2021, 1:35pm UTC](https://forum.rasa.com/t/unable-to-convert-data-to-2-x-format-using-convertor/38899/4 "2021-01-13T13:35:54Z")

</div>

This is the file [nlu.md](https://forum.rasa.com/uploads/short-url/r9M4EBMew6wKXQ8JOsjDQzBGUg1.md) (61.5 KB)

---

<div class="post-metadata">

**Author:** ![fkoerner](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/fkoerner/32/11784_2.png) [@fkoerner](https://forum.rasa.com/u/fkoerner)\
**Post date:** [January 14, 2021, 3:00pm UTC](https://forum.rasa.com/t/unable-to-convert-data-to-2-x-format-using-convertor/38899/5 "2021-01-14T15:00:06Z")

</div>

Looks like you have a lot of random `\t` characters, mostly trailing. The problematic ones are inside lines like:

`I'd like to speak to a consultant\tplease put me through to a live agent`

You should be able to replace these with a space character and the conversion will work:

`I'd like to speak to a consultant please put me through to a live agent`

---

<div class="post-metadata">

**Author:** ![ThePhiri](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/thephiri/32/8821_2.png) [@ThePhiri](https://forum.rasa.com/u/ThePhiri)\
**Post date:** [January 15, 2021, 7:08am UTC](https://forum.rasa.com/t/unable-to-convert-data-to-2-x-format-using-convertor/38899/6 "2021-01-15T07:08:27Z")

</div>

Ok thanks. Will clean it up
