# HELP-DOMAIN.YML

**URL:** <https://forum.rasa.com/t/help-domain-yml/59834>\
**Category:** Rasa Open Source\
**Created:** [October 4, 2023, 1:42pm UTC](https://forum.rasa.com/t/help-domain-yml/59834 "2023-10-04T13:42:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![satheesh\_1](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@satheesh\_1](https://forum.rasa.com/u/satheesh_1)\
**Post date:** [October 4, 2023, 1:42pm UTC](https://forum.rasa.com/t/help-domain-yml/59834/1 "2023-10-04T13:42:27Z")

</div>

2023-10-04 19:05:09 INFO rasa.cli.train - Started validating domain and training data… YamlValidationException: Failed to validate ‘C:\chatboot\domain.yml’. Please make sure the file is correct and all mandatory parameters are specified. Here are the errors found during validation: in C:\chatboot\domain.yml:5: Cannot find required key ‘mappings’. Path: ‘/slots/name’ in C:\chatboot\domain.yml:7: Cannot find required key ‘mappings’. Path: ‘/slots/email’ CAN ANYONE HELP WITH THIS ERROR MY DOMAIN.YML CODE : version: “3.1”

slots: name: type: text email: type: text

intents:

- greet
- goodbye
- affirm
- deny
- mood\_great
- mood\_unhappy
- bot\_challenge
- email\_id
- user\_name

responses: utter\_askname: - text: “Please enter your name”

utter\_askemail: - text: “Please enter your email id to receive updates”

utter\_greet: - text: “Hey! How are you?”

utter\_cheer\_up: - text: “Here is something to cheer you up:” image: “[https://i.imgur.com/nGF1K8f.jpg](https://i.imgur.com/nGF1K8f.jpg)”

utter\_did\_that\_help: - text: “Did that help you?”

utter\_happy: - text: “Great, carry on!”

utter\_goodbye: - text: “Bye”

utter\_iamabot: - text: “I am a bot, powered by Rasa.”

session\_config: session\_expiration\_time: 60 carry\_over\_slots\_to\_new\_session: true

actions:

- action\_email

---

<div class="post-metadata">

**Author:** ![anoopshrma](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anoopshrma/32/13349_2.png) [@anoopshrma](https://forum.rasa.com/u/anoopshrma)\
**Post date:** [October 5, 2023, 7:05am UTC](https://forum.rasa.com/t/help-domain-yml/59834/2 "2023-10-05T07:05:10Z")

</div>

Hi @satheesh_1Please refer to this: [Domain](https://rasa.com/docs/rasa/domain)

It seems slots are not correctly defined in your case.

---

<div class="post-metadata">

**Author:** ![satheesh\_1](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@satheesh\_1](https://forum.rasa.com/u/satheesh_1)\
**Post date:** [October 6, 2023, 4:48pm UTC](https://forum.rasa.com/t/help-domain-yml/59834/3 "2023-10-06T16:48:43Z")

</div>

while entering email id it is giving an error :

2023-10-06 22:14:28 ERROR rasa.core.processor - Encountered an exception while running action ‘action\_email’.Bot will continue, but the actions events are lost. Please check the logs of your action server for more information. Traceback (most recent call last): File “c:\users\satheesh bhukya\appdata\local\programs\python\python38\lib\site-packages\rasa\core\actions\action.py”, line 780, in run response: Any = await self.action\_endpoint.request( File “c:\users\satheesh bhukya\appdata\local\programs\python\python38\lib\site-packages\rasa\utils\endpoints.py”, line 175, in request raise ClientResponseError( rasa.utils.endpoints.ClientResponseError: 404, Not Found, body=‘b’{“error”:“No registered action found for name ‘action\_email’.”,“action\_name”:“action\_email”}‘’

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File “c:\users\satheesh bhukya\appdata\local\programs\python\python38\lib\site-packages\rasa\core\processor.py”, line 960, in \_run\_action events = await action.run( File “c:\users\satheesh bhukya\appdata\local\programs\python\python38\lib\site-packages\rasa\core\actions\action.py”, line 810, in run raise RasaException( rasa.shared.exceptions.RasaException: Failed to execute custom action ‘action\_email’ can you resolve

---

<div class="post-metadata">

**Author:** ![satheesh\_1](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@satheesh\_1](https://forum.rasa.com/u/satheesh_1)\
**Post date:** [October 6, 2023, 4:49pm UTC](https://forum.rasa.com/t/help-domain-yml/59834/4 "2023-10-06T16:49:01Z")

</div>

can you reslove plz

---

<div class="post-metadata">

**Author:** ![anoopshrma](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/anoopshrma/32/13349_2.png) [@anoopshrma](https://forum.rasa.com/u/anoopshrma)\
**Post date:** [October 16, 2023, 8:15am UTC](https://forum.rasa.com/t/help-domain-yml/59834/5 "2023-10-16T08:15:04Z")

</div>

Did you create a custom action for handling emails?

> [@satheesh\_1](#):
>
> body=‘b’{“error”:“No registered action found for name ‘action\_email’.”,“action\_name”:“action\_email”}‘’

Also did you add custom action class name in domain file?
