# Intent not defined in domain

**URL:** <https://forum.rasa.com/t/intent-not-defined-in-domain/23415>\
**Category:** Getting Started with Rasa\
**Created:** [January 13, 2020, 8:18am UTC](https://forum.rasa.com/t/intent-not-defined-in-domain/23415 "2020-01-13T08:18:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankur-pandey7](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@ankur-pandey7](https://forum.rasa.com/u/ankur-pandey7)\
**Post date:** [January 13, 2020, 8:18am UTC](https://forum.rasa.com/t/intent-not-defined-in-domain/23415/1 "2020-01-13T08:18:54Z")

</div>

I am facing **intent not defined in domain** error when I am running `rasa shell`

```auto
rasa==1.6.1
rasa-sdk==1.6.1
rasa-x==0.24.1

```

When I do `rasa interactive` it does works well and all the intents are recognised properly. But when I run `rasa shell` I got following error:

```auto
Bot loaded. Type a message and press enter (use '/stop' to exit): 
Your input -> hi                                                                                                                                                      
/var/www/python/nlp/bot-demo/Rasa_basic_folder/venv/lib/python3.7/site-packages/rasa/core/processor.py:366: UserWarning: Interpreter parsed an intent 'hi' that is not defined in the domain.
  f"Interpreter parsed an intent '{intent}' "
Your input -> hi there                                                                                                                                                
/var/www/python/nlp/bot-demo/Rasa_basic_folder/venv/lib/python3.7/site-packages/rasa/core/processor.py:366: UserWarning: Interpreter parsed an intent 'hi there' that is not defined in the domain.
  f"Interpreter parsed an intent '{intent}' "
Your input ->                                        

```

I have checked the domain and nlu files its all mentioned there.

```auto
# nlu.md
## intent:greet
- hey
- hello
- hi
- hi there
- hi pal!
- greetings
- hello robot
- good morning
- good evening
- good afternoon
- hello is anybody there
- hey there
- hola
- you there
- yo

```

and

```auto
# domain.yml

intents:
- affirm
- restaurant_search
- send_email
- greet
- goodbye
- stop
- information

entities:
- cuisine
- location
- price
- email

```

Can anyone help me where I am going wrong?

---

<div class="post-metadata">

**Author:** ![Arjaan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arjaan/32/5754_2.png) [@Arjaan](https://forum.rasa.com/u/Arjaan)\
**Post date:** [January 13, 2020, 7:21pm UTC](https://forum.rasa.com/t/intent-not-defined-in-domain/23415/2 "2020-01-13T19:21:11Z")

</div>

Hi @ankur-pandey7,

Do you get any warnings when validating the training data, by using this command?

```bash
rasa data validate

```

---

<div class="post-metadata">

**Author:** ![ankur-pandey7](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@ankur-pandey7](https://forum.rasa.com/u/ankur-pandey7)\
**Post date:** [January 14, 2020, 10:19am UTC](https://forum.rasa.com/t/intent-not-defined-in-domain/23415/3 "2020-01-14T10:19:40Z")

</div>

@ArjaanYes I tried doing that I have a warning,

```auto
UserWarning: The example 'Italian' was found in multiple intents: information, restaurant_search.

```

are you saying this could be a reason that its not able to identify the `greet` intent?

---

<div class="post-metadata">

**Author:** ![Arjaan](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/arjaan/32/5754_2.png) [@Arjaan](https://forum.rasa.com/u/Arjaan)\
**Post date:** [January 14, 2020, 5:11pm UTC](https://forum.rasa.com/t/intent-not-defined-in-domain/23415/4 "2020-01-14T17:11:15Z")

</div>

@ankur-pandey7,

That should be ok. I was trying to see if perhaps something was wrong with the `domain.yml`.

Do you get any messages during training about the `greet` intent?

Also, if you run it with the --debug option, do you see any additional messages that could provide a clue?

```bash
$ rasa shell --debug
```
