Domain file error

When I use mappings in slots the error is: ‘Encountered empty domain during validation.’

when I remove mappings in slots the error is: ‘Cannot find required key ‘mappings’. Path: ‘/slots/language’’

What do I do? Anyone please help ASAP

Hi @Anubhavnatani04, please provide your domain.yml file

version: “3.1”

create responses for intents in nlu

intents:

  • greet
  • share_feelings
  • ask_for_advice
  • thanks
  • goodbye
  • bot_challenge
  • gender

entities:

  • emotion
  • coping_mechanism

actions:

  • utter_greeting
  • utter_acknowledgement
  • utter_advice
  • utter_thank_you
  • utter_goodbye
  • utter_bot_challenge
  • utter_gender

responses: utter_greeting: - text: Hello! How can I help you today? utter_acknowledgement: - text: I understand. It’s okay to feel that way. utter_advice: - text: Here are a few coping mechanisms that might help:- * Take some time for yourself to relax and de-stress. * Talk to a friend or family member about what you’re going through. * Get some exercise or do something else that you enjoy. * If you’re feeling overwhelmed, don’t hesitate to seek professional help. utter_thank_you: - text: You’re welcome! I’m glad I could be of assistance.

utter_goodbye: - text: Goodbye! I hope you have a good day.

utter_bot_challenge: - text: I am Elsa your personal mental health therapist.

utter_gender:

  • text: “What is your gender identity?”

session_config: session_expiration_time: 60 carry_over_slots_to_new_session: true

//This is my domain.yml file encountered empty during validation how to solve this problem

i have also the same error error : “Encountered empty domain during validation.”

what is the primary reason for this error ?

i have also the same error error : “Encountered empty domain during validation.”

what is the primary reason for this error ?

Did anyone find a solution to this issue? I am also stuck