YamlValidationException: Failed to validate domain file. Value 'None' is not a dict. Value path: '/responses'

YamlValidationException: Failed to validate ‘C:\Users\samee\AppData\Local\Programs\Python\Python37\Rishikesh\Rasa\domain.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation: in C:\Users…\Rasa\domain.yml:1: Value ‘None’ is not a dict. Value path: ‘/responses’

domain.yml (5.8 KB)

Could someone please help me out!

@matheusdelgado please help me out!

@mann2107 please help me out!

@Ghostvv please help me out!

One potential issue I can see is under the response section, for button responses the title is without quotes, For Ex - utter_ask_symptom1:

  • text: “Are you facing any difficulty in breathing or shortness of breath?” buttons:
    • title: Yes (quotes are missing here, try “Yes”) payload: /symp1{“symp1”:“Yes”}
    • title: No (quotes are missing here, try “No”) payload: /symp1{“symp1”:“No”}

The corrected format should be like this - utter_ask_symptom1:

  • text: “Are you facing any difficulty in breathing or shortness of breath?” buttons:
    • title: “Yes” payload: /symp1{“symp1”:“Yes”}
    • title: “No” payload: /symp1{“symp1”:“No”}

Thanks for trying but that didn’t work.

Hey Rishikesh,

Did you find a solution to this? I am having the same issue and error.

Thanks. Jordan