# YamlValidationException: Failed to validate 'C:\\Users\\....domain.yml'. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation

**URL:** <https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970>\
**Category:** Rasa Open Source\
**Created:** [February 8, 2021, 2:46pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970 "2021-02-08T14:46:38Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![desmarchris](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/desmarchris/32/12277_2.png) [@desmarchris](https://forum.rasa.com/u/desmarchris)\
**Post date:** [March 3, 2021, 8:51pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/21 "2021-03-03T20:51:10Z")

</div>

If you can send your Domain I can try debugging it for you. I’m not sure what else could be causing it currently besides a null value

---

<div class="post-metadata">

**Author:** ![younessegh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/younessegh/32/10738_2.png) [@younessegh](https://forum.rasa.com/u/younessegh)\
**Post date:** [April 16, 2021, 12:46pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/22 "2021-04-16T12:46:09Z")

</div>

@desmarchris Hi, I got the same issue ftarlaci. Is the issue fixed? I also don’t have any null values.

[domain.yml](https://forum.rasa.com/uploads/short-url/g1tmPlVWoJMF16mp5FJ2R7jcHRE.yml) (12.2 KB)

---

<div class="post-metadata">

**Author:** ![ftarlaci](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ftarlaci/32/11601_2.png) [@ftarlaci](https://forum.rasa.com/u/ftarlaci)\
**Post date:** [April 26, 2021, 2:17pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/23 "2021-04-26T14:17:16Z")

</div>

This line might be the issue:

"- text: | Hallo, Ik ben de HRSC Chatbot. Ik maak gebruik van taalanalyse "

where you are using the yaml’s multiline symbol “|” For some reason Rasa didn’t like any of the official yaml syntaxes so I removed all of those and placed all response sentences in quotation marks and it worked.

---

<div class="post-metadata">

**Author:** ![Abhinav](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/abhinav/32/14647_2.png) [@Abhinav](https://forum.rasa.com/u/Abhinav)\
**Post date:** [April 28, 2021, 5:52am UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/24 "2021-04-28T05:52:09Z")

</div>

@desmarchris hey, I got the same error. Can you check my file.[domain.yml](https://forum.rasa.com/uploads/short-url/iHnDBz8sVV030PXbFTUds3P4QgG.yml) (9.4 KB)@ftarlaci

---

<div class="post-metadata">

**Author:** ![younessegh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/younessegh/32/10738_2.png) [@younessegh](https://forum.rasa.com/u/younessegh)\
**Post date:** [April 28, 2021, 1:45pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/25 "2021-04-28T13:45:13Z")

</div>

@ftarlaci Thank you. It works!

---

<div class="post-metadata">

**Author:** ![desmarchris](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/desmarchris/32/12277_2.png) [@desmarchris](https://forum.rasa.com/u/desmarchris)\
**Post date:** [April 28, 2021, 3:57pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/26 "2021-04-28T15:57:01Z")

</div>

@Abhinav there are two issues with your file:

1. `- about_us: {triggers: action_about_us}` This is the 1.x format for the `MappingPolicy`. This has been deprecated in favor of writing [Rules](https://rasa.com/docs/rasa/2.1.x/rules).

2. there’s an extra `-` for this response causing the error:

```auto
    - image: https://i.imgur.com/nGF1K8f.jpg
    - text: Here is something to cheer you up

```

If you change it to this it works:

```auto
  utter_cheer_up:
    - text: Here is something to cheer you up
      image: https://i.imgur.com/nGF1K8f.jpg

```

I’ll add onto the [GitHub Issue](https://github.com/RasaHQ/rasa/issues/7908) that we’re missing the explanation for what’s wrong with the file in our output.

---

<div class="post-metadata">

**Author:** ![Ramneekk55](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@Ramneekk55](https://forum.rasa.com/u/Ramneekk55)\
**Post date:** [May 4, 2021, 9:13pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/27 "2021-05-04T21:13:22Z")

</div>

@desmarchris I am facing the same error and it is a valid YAML too. Please have a look at the file and help me to identify the error[domain.yml](https://forum.rasa.com/uploads/short-url/mVQ3nsTnDWH5a5owDc4oTBTOfoX.yml) (2.0 KB)

---

<div class="post-metadata">

**Author:** ![lienchibao1998](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/lienchibao1998/32/17265_2.png) [@lienchibao1998](https://forum.rasa.com/u/lienchibao1998)\
**Post date:** [September 25, 2021, 12:26am UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/28 "2021-09-25T00:26:59Z")

</div>

[domain.yml](https://forum.rasa.com/uploads/short-url/qHbQgTTb7ZtOSTce5Et1w9CLEkW.yml) (2.2 KB) Xin chào… tôi đang bị lỗi : “YamlValidationException: Failed to validate ‘C:\Users\Bao Bi\Documents\chatbot\domain.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation” … Ai đó có thể giúp tôi được không? tôi lần đầu tham gia

---

<div class="post-metadata">

**Author:** ![lienchibao1998](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/lienchibao1998/32/17265_2.png) [@lienchibao1998](https://forum.rasa.com/u/lienchibao1998)\
**Post date:** [September 28, 2021, 9:22am UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/29 "2021-09-28T09:22:20Z")

</div>

“YamlValidationException: Failed to validate ‘C:\Users\Bao Bi\Documents\chatbot\domain.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation”… help me,please ![domain.yml|attachment](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/b/b/bb1a65bae6c7da968e91f47b356ac63010b816fa.yml) (2.2 KB)

---

<div class="post-metadata">

**Author:** ![Aneri](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@Aneri](https://forum.rasa.com/u/Aneri)\
**Post date:** [March 15, 2023, 8:56pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/30 "2023-03-15T20:56:44Z")

</div>

[rules\_dform.yml](https://forum.rasa.com/uploads/short-url/22W9J2nk2DmJg3S77Zr20MrKiDl.yml) (762 Bytes)@desmarchris I am facing the same issues but in rules file YamlValidationException: Failed to validate ‘data/rules.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation: in data/rules.yml:17: Key ‘slot’ was not defined. Path: ‘/rules/1/condition/2’

It is valid YAML file

pls help

---

<div class="post-metadata">

**Author:** ![hawkouma](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hawkouma/32/22840_2.png) [@hawkouma](https://forum.rasa.com/u/hawkouma)\
**Post date:** [May 11, 2023, 1:03pm UTC](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970/31 "2023-05-11T13:03:01Z")

</div>

im using rasa v 3 so slots have a different syntaxe try to respect how to write it

[Previous page](https://forum.rasa.com/t/yamlvalidationexception-failed-to-validate-c-users-domain-yml-please-make-sure-the-file-is-correct-and-all-mandatory-parameters-are-specified-here-are-the-errors-found-during-validation/39970.md?page=1)
