# Domain File Configuration

**URL:** <https://forum.rasa.com/t/domain-file-configuration/24321>\
**Category:** Rasa Open Source\
**Created:** [February 4, 2020, 7:17am UTC](https://forum.rasa.com/t/domain-file-configuration/24321 "2020-02-04T07:17:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![taimoor-ahmed](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/taimoor-ahmed/32/4108_2.png) [@taimoor-ahmed](https://forum.rasa.com/u/taimoor-ahmed)\
**Post date:** [February 4, 2020, 7:17am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/1 "2020-02-04T07:17:07Z")

</div>

Hello, I was following the formbot example to build my own chatbot. However, I get the following error when I run

> rasa train Error:

> Cannot access action ‘utter\_greet’, as that name is not a registered action for this domain. Available actions are: action\_listen - action\_restart - action\_default\_fallback - action\_deactivate\_form - action\_revert\_fallback\_events - action\_default\_ask\_affirmation - action\_default\_ask\_rephrase - action\_back - emergency\_form

My domain file is:

> ```
> intents:
> - emergency:
> use_entities: []
> - greet
> - inform
> 
> entities: 
> - etype
> - people
> - location
> 
> slots:
> etype:
> type: unfeaturized
> auto_fill: false 
> people:
> type: unfeaturized
> auto_fill: false 
> location: 
> type: unfeaturized
> auto_fill: false
> 
> responses:
> utter_ask_etype:
> - text: "ہادثہ کی نوعیت کیا ہے"
> utter_ask_people: 
> - text: "کتنے افراد متاثر ہیں"
> utter_ask_location: 
> - text: "کہاں ہادثہ پیش آیا ہے"
> utter_greet:
> - text: "وعلیکم اسلام"
> utter_default:
> - text: "معاف کیجیے۔ سمجھ نہیں آیا۔"
> utter_confirmation: 
> - text: "ایمبولینس آرہی ہے" 
> 
> forms: 
> - emergency_form
> 
> ```

---

<div class="post-metadata">

**Author:** ![matthiask](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@matthiask](https://forum.rasa.com/u/matthiask)\
**Post date:** [February 4, 2020, 8:14am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/2 "2020-02-04T08:14:24Z")

</div>

Add a section `actions` in your domain. Like this:

```
 actions:
    - utter_greet
    - utter_ask_etype

```

And so on …

---

<div class="post-metadata">

**Author:** ![taimoor-ahmed](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/taimoor-ahmed/32/4108_2.png) [@taimoor-ahmed](https://forum.rasa.com/u/taimoor-ahmed)\
**Post date:** [February 4, 2020, 9:16am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/3 "2020-02-04T09:16:01Z")

</div>

Hello, @matthiask. I added the actions list as follows:

actions:

- utter\_greet
- utter\_ask\_etype
- utter\_ask\_people
- utter\_ask\_location
- utter\_default
- utter\_confirmation
- utter\_slots\_values

but when I run rasa shell and input greet, it throws me this error:

` ERROR rasa.core.actions.action - Couldn't create message for template 'utter_greet'.`

---

<div class="post-metadata">

**Author:** ![matthiask](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@matthiask](https://forum.rasa.com/u/matthiask)\
**Post date:** [February 4, 2020, 11:04am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/4 "2020-02-04T11:04:28Z")

</div>

Which version of Rasa are you using?

---

<div class="post-metadata">

**Author:** ![taimoor-ahmed](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/taimoor-ahmed/32/4108_2.png) [@taimoor-ahmed](https://forum.rasa.com/u/taimoor-ahmed)\
**Post date:** [February 4, 2020, 11:06am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/5 "2020-02-04T11:06:07Z")

</div>

I’m using RASA 1.1.6

---

<div class="post-metadata">

**Author:** ![matthiask](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@matthiask](https://forum.rasa.com/u/matthiask)\
**Post date:** [February 4, 2020, 11:13am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/6 "2020-02-04T11:13:33Z")

</div>

Then try to use the keyword `templates` instead of `responses`. The keyword `response` is only available in the version 1.7.0.

---

<div class="post-metadata">

**Author:** ![taimoor-ahmed](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/taimoor-ahmed/32/4108_2.png) [@taimoor-ahmed](https://forum.rasa.com/u/taimoor-ahmed)\
**Post date:** [February 4, 2020, 11:33am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/7 "2020-02-04T11:33:22Z")

</div>

I changed it to templates. Now, it is working fine. Should I update my rasa version? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![matthiask](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@matthiask](https://forum.rasa.com/u/matthiask)\
**Post date:** [February 4, 2020, 11:40am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/8 "2020-02-04T11:40:16Z")

</div>

Yes. Update your version to get all bug fixes and new features. And please mark the question as solved.

---

<div class="post-metadata">

**Author:** ![yuimo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yuimo/32/7125_2.png) [@yuimo](https://forum.rasa.com/u/yuimo)\
**Post date:** [February 18, 2020, 7:31am UTC](https://forum.rasa.com/t/domain-file-configuration/24321/9 "2020-02-18T07:31:57Z")

</div>

hi, what is the difference between the keywords templates and reponses? rasa has already the keyword templates, why did you create keyword response again? thx
