# What is wrong with YAMLChecker?

**URL:** <https://forum.rasa.com/t/what-is-wrong-with-yamlchecker/39579>\
**Category:** Rasa Open Source\
**Created:** [January 28, 2021, 3:07pm UTC](https://forum.rasa.com/t/what-is-wrong-with-yamlchecker/39579 "2021-01-28T15:07:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anhquan075](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anhquan075/32/12553_2.png) [@anhquan075](https://forum.rasa.com/u/anhquan075)\
**Post date:** [January 28, 2021, 3:07pm UTC](https://forum.rasa.com/t/what-is-wrong-with-yamlchecker/39579/1 "2021-01-28T15:07:08Z")

</div>

Hey, I just check my domain.yml 10 times and using every yaml checker on Earth to check where errors is, its told me this is valid yaml but rasa got message that my domain.yml wrong. What the hell with this ?

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/3/3fe5c6d5ce8b268a23d755d225f3f1e1c2f14218.png)This is my domain.yml. I am so angry, I dont know why I got this shit every time I try to do with this file.

> session\_config:
> 
> session\_expiration\_time: 60
> 
> carry\_over\_slots\_to\_new\_session: false
> 
> intents:
> 
> - greet:
> 
> - attention:
> 
> - health\_inquire:
> 
> - goodbye:
> 
> - affirm:
> 
> - deny:
> 
> - compliment:
> 
> - thanks:
> 
> - feeling\_good:
> 
> - insult:
> 
> - feeling\_bad:
> 
> - stop\_asking:
> 
> - continue\_asking:
> 
> - want\_to\_ask:
> 
> - dont\_want\_to\_ask:
> 
> - who\_are\_you:
> 
> - who\_create\_you:
> 
> - last\_name:
> 
> - first\_name:
> 
> - date:
> 
> - time:
> 
> - out\_of\_scope:
> 
> - corona:
> 
> - nlu\_fallback:
> 
> - restart:
> 
> - want\_to\_practice\_flowchart:
> 
> - want\_to\_practice\_cpp:
> 
> - dont\_want\_to\_give\_flowchart\_quest\_num:
> 
> - dont\_want\_to\_give\_cpp\_content:
> 
> - flowchart\_asking
> 
> - cpp\_practice
> 
> - cpplus\_what\_asking
> 
> - cpplus\_how\_asking
> 
> - cpplus\_why\_asking
> 
> - cpplus\_when\_asking
> 
> - cpplus\_where\_asking
> 
> - cpplus\_example\_asking
> 
> entities:
> 
> - cpplus\_content
> 
> - flowchart\_quest\_num
> 
> slots:
> 
> cpplus\_practice\_content:
> 
> ```
> type: text
> 
> influence_conversation: false
> 
> ```
> 
> flowchart\_quest\_num:
> 
> ```
> type: any
> 
> influence_conversation: false
> 
> ```
> 
> cpplus\_content:
> 
> ```
> type: text
> 
> influence_conversation: false
> 
> ```
> 
> cpp\_content\_answer:
> 
> ```
> type: text
> 
> influence_conversation: false
> 
> ```
> 
> flowchart\_answer:
> 
> ```
> type: text
> 
> influence_conversation: false
> 
> ```
> 
> requested\_slot:
> 
> ```
> type: categorical
> 
> values:
> 
> - cpplus_content
> 
> - flowchart_quest_num
> 
> influence_conversation: true
> 
> ```
> 
> responses:
> 
> utter\_author:
> 
> - image: [https://media.giphy.com/media/eLjAaI1cYMnQrCpbRu/giphy.gif](https://media.giphy.com/media/eLjAaI1cYMnQrCpbRu/giphy.gif)
> 
> utter\_what\_do\_you\_want:
> 
> - text: Vậy bạn muốn gì?
> 
> - text: Thế bạn cần gì?
> 
> utter\_covid\_symptom:
> 
> - text: "COVID-19 tác động đến mỗi người theo những cách khác nhau. Hầu hết những\
> 
> utter\_covid\_precautions:
> 
> - text: "Để ngăn chặn COVID-19 lây lan, hãy:\n\_ Đeo khâu trang ở nơi công cộng\n\
> 
> utter\_covid\_treatment:
> 
> - text: Cho đến nay, vẫn chưa có vắc-xin hoặc thuốc đặc hiệu cho COVID-19. Các nhà
> 
> utter\_reply\_stop\_asking:
> 
> - text: Ok bạn nha, có vướng mắc gì về C++ thì cứ hỏi mình
> 
> - text: Ừa ok bạn, bạn có thể trở lại hỏi bất cứ khi nào nha
> 
> utter\_reply\_health\_inquire:
> 
> - text: Dạo này mình vẫn ổn nha bạn, cảm ơn đã hỏi thăm mình nha
> 
> - text: Mình vẫn ổn nha, cảm ơn bạn nhiều
> 
> utter\_reply\_feeling\_bad:
> 
> - text: ’ Hãy quay về phía Mặt trời và bạn sẽ không thấy bóng tối – Helen Keller. ’
> 
> - text: ’ Đừng buồn vì bụi hoa hồng có gai mà hãy vui vì trong bụi gai có hoa hồng
> 
> utter\_reply\_feeling\_good:
> 
> - text: Bạn ổn là mình vui rồi \<3
> 
> - text: Bạn ổn làm mình cũng ổn theo luôn đó hihi
> 
> utter\_reply\_compliment:
> 
> - text: Hihi ngại quá
> 
> utter\_reply\_thanks:
> 
> - text: Không có gì đâu nè ^^
> 
> - text: Có gì đâu hihi
> 
> - text: Giúp được bạn là nhiệm vụ của mình mà
> 
> utter\_reply\_insult:
> 
> - text: Mình không biết vì sao bạn lại chửi mình nhưng nếu mình có làm gì không
> 
> - text: Sao bạn lại chửi mình zayy TT
> 
> - text: Đừng chửi tuii, tuii có làm gì bạn đâu \>\<
> 
> - text: Mày thích chửi hông ? Đó là người cục sục sẽ nói vậy, chứ đừng có chửi mình nha 😢
> 
> utter\_reply\_deny:
> 
> - text: Cảm ơn bạn đã góp ý cho mình, mình sẽ ghi nhận và chỉnh sửa nếu phù hợp
> 
> utter\_reply\_out\_of\_scope:
> 
> - buttons:
> 
> utter\_greet:
> 
> - text: Xin chào! Bạn khỏe không?
> 
> - text: Chào bạn, hôm nay bạn thế nào?
> 
> utter\_did\_that\_help:
> 
> - text: Vừa rồi có giúp ích được gì cho bạn không?
> 
> - text: Câu trả lời của mình có giúp gì được cho bạn không ?
> 
> utter\_happy:
> 
> - text: Tuyệt vời, cố gắng phát huy nhé!
> 
> - text: Bạn giỏi thật đó!
> 
> - text: Hoàn hảo luôn
> 
> utter\_goodbye:
> 
> - text: Tạm biệt, hẹn gặp lại bạn sau
> 
> - text: Chào bạn nha
> 
> - text: Vâng, hẹn hôm khác nói chuyện tiếp nha
> 
> utter\_who\_i\_am:
> 
> - buttons:
> 
> - text: Mình là trợ lý học tập, mình có thể hỗ trợ các bạn việc học nhập môn lập
> 
> - text: Mình là một botchat hỗ trợ các bạn trong môn Nhập môn lập trình với ngôn
> 
> utter\_accept\_questions:
> 
> - text: Bạn hỏi đi, mình có thể giúp bạn trả lời các câu hỏi liên quan đến C++
> 
> - text: Bạn cứ hỏi, mình sẽ trả lời cho các bạn bất cứ câu hỏi gì về C++
> 
> - text: Mình có thể trả lời các câu hỏi liên quan đến C++, bạn cứ việc hỏi đi ạ
> 
> utter\_answer\_cpplus\_questions:
> 
> - text: ‘Đây là câu trả lời của bạn:’
> 
> utter\_ok:
> 
> - text: Ok bạn nha
> 
> - text: Ừa ok bạn
> 
> - text: Okelaaa
> 
> utter\_thanks:
> 
> - text: Cảm ơn bạn đã sử dụng dịch vụ
> 
> - text: Cảm ơn bạn nhiều nhiều nè
> 
> utter\_sorry:
> 
> - text: Xin lỗi bạn
> 
> - text: Thành thật xin lỗi bạn nhiều
> 
> utter\_wtf:
> 
> - text: Mình chưa hiểu câu của bạn lắm \>\< Bạn có thể nói lại được không ạ?
> 
> - text: Bạn có thể nói lại rõ hơn được không? Mình chưa hiểu ý bạn lắm \>\<
> 
> utter\_please\_rephrase:
> 
> - text: Xin lỗi, mình chưa hiểu ý bạn lắm. Bạn có thể nói rõ hơn một tí được hong?
> 
> - text: Bạn có thể nói lại được không, mình không hiểu ý bạn cho lắm 😢
> 
> utter\_may\_i\_help\_u:
> 
> - text: Vâng, mình đang nghe đây
> 
> - text: Mình đây bạn
> 
> - text: Tui đây tui đây
> 
> utter\_ask\_first\_name:
> 
> - text: Cho mình hỏi họ của bạn được hông
> 
> - text: Cho mình xin họ của bạn đi nè
> 
> - text: Cho phép mình xin họ của bạn nhé
> 
> utter\_ask\_last\_name:
> 
> - text: Vậy cho mình hỏi tên của bạn được hông
> 
> - text: Tiếp theo cho mình xin tên của bạn đi nè
> 
> - text: Mình xin phép được hỏi tên của bạn có được hông
> 
> utter\_ask\_anything\_else:
> 
> - text: Bạn có muốn hỏi thêm gì không?
> 
> - text: Bạn có cần hỏi thêm gì không?
> 
> utter\_ask\_flowchart\_question\_number:
> 
> - text: Bạn muốn hỏi câu số mấy vậy ạ?
> 
> - text: Bạn muốn hỏi câu số bao nhiêu nè?
> 
> utter\_ask\_cpp\_content:
> 
> - text: Bạn muốn hỏi về nội dung gì trong C++ vậy ạ?
> 
> utter\_explain\_why\_need\_flowchart\_num:
> 
> - text: Mình cần số câu hỏi cụ thể để tiện cho việc truy xuất thông tin nên phiền bạn cung cấp số câu hỏi cụ thể ạ. Bạn thông cảm giúp mình nha.
> 
> utter\_explain\_why\_need\_cpp\_content:
> 
> - text: Mình cần có một nội dung cụ thể để tiện cho việc truy xuất thông tin nên phiền bạn cung cấp thông tin chi tiết hơn ạ. Bạn thông cảm giúp mình nha.
> 
> actions:
> 
> - utter\_reply\_feeling\_good
> 
> - utter\_reply\_feeling\_bad
> 
> - utter\_reply\_health\_inquire
> 
> - utter\_reply\_stop\_asking
> 
> - utter\_reply\_compliment
> 
> - utter\_reply\_insult
> 
> - utter\_reply\_thanks
> 
> - utter\_reply\_deny
> 
> - utter\_reply\_out\_of\_scope
> 
> - utter\_greet
> 
> - utter\_author
> 
> - utter\_may\_i\_help\_u
> 
> - utter\_what\_do\_you\_want
> 
> - utter\_did\_that\_help
> 
> - utter\_happy
> 
> - utter\_goodbye
> 
> - utter\_who\_i\_am
> 
> - utter\_accept\_questions
> 
> - utter\_answer\_cpplus\_questions
> 
> - utter\_ask\_anything\_else
> 
> - utter\_ok
> 
> - utter\_thanks
> 
> - utter\_sorry
> 
> - utter\_wtf
> 
> - utter\_covid\_symptom
> 
> - utter\_covid\_precautions
> 
> - utter\_covid\_treatment
> 
> - utter\_please\_rephrase
> 
> - utter\_explain\_why\_need\_flowchart\_num
> 
> - utter\_explain\_why\_need\_cpp\_content
> 
> - utter\_ask\_first\_name
> 
> - utter\_ask\_last\_name
> 
> - utter\_ask\_flowchart\_question\_number
> 
> - utter\_ask\_cpp\_content
> 
> - validate\_cpp\_content\_form
> 
> - validate\_flowchart\_quest\_num\_form
> 
> - action\_first\_name
> 
> - action\_ask\_time
> 
> - action\_ask\_date
> 
> - action\_cpplus\_content\_answer
> 
> - action\_flowchart\_practice\_answer
> 
> - action\_cpplus\_practice
> 
> forms:
> 
> cpp\_content\_form:
> 
> ```
> cpplus_content:
> 
> - entity: cpplus_content
> 
> type: from_entity
> 
> ```
> 
> flowchart\_quest\_num\_form:
> 
> ```
> flowchart_quest_num:
> 
> - entity: flowchart_quest_num
> 
> type: from_entity
> 
> ```

---

<div class="post-metadata">

**Author:** ![anhquan075](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anhquan075/32/12553_2.png) [@anhquan075](https://forum.rasa.com/u/anhquan075)\
**Post date:** [January 28, 2021, 3:07pm UTC](https://forum.rasa.com/t/what-is-wrong-with-yamlchecker/39579/2 "2021-01-28T15:07:52Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/b/bd52104a66d05946bdfda69129b41fe1f21f973b.png)

---

<div class="post-metadata">

**Author:** ![anhquan075](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anhquan075/32/12553_2.png) [@anhquan075](https://forum.rasa.com/u/anhquan075)\
**Post date:** [January 28, 2021, 3:08pm UTC](https://forum.rasa.com/t/what-is-wrong-with-yamlchecker/39579/3 "2021-01-28T15:08:28Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/b/baa375b2ecb86964deff66fb4c80891c48a613ad.png)

---

<div class="post-metadata">

**Author:** ![anhquan075](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anhquan075/32/12553_2.png) [@anhquan075](https://forum.rasa.com/u/anhquan075)\
**Post date:** [January 28, 2021, 3:09pm UTC](https://forum.rasa.com/t/what-is-wrong-with-yamlchecker/39579/4 "2021-01-28T15:09:04Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/e/ea61e4618d0a99bb98be7267f8cf28b37173d321.png)

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [January 30, 2021, 12:02am UTC](https://forum.rasa.com/t/what-is-wrong-with-yamlchecker/39579/5 "2021-01-30T00:02:59Z")

</div>

The indentation is incorrect for this block:

> [@anhquan075](#):
>
> session\_config:
> 
> session\_expiration\_time: 60
> 
> carry\_over\_slots\_to\_new\_session: false

It should be:

```yml
session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

```

You can also get more details by running `rasa data validate`. If you are using Rasa 2.2 it adds schema validation.
