# ValueError: "start" is not in list rasa

**URL:** <https://forum.rasa.com/t/valueerror-start-is-not-in-list-rasa/47334>\
**Category:** Rasa Open Source\
**Created:** [August 31, 2021, 1:38pm UTC](https://forum.rasa.com/t/valueerror-start-is-not-in-list-rasa/47334 "2021-08-31T13:38:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrejankas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/andrejankas/32/16812_2.png) [@andrejankas](https://forum.rasa.com/u/andrejankas)\
**Post date:** [August 31, 2021, 1:38pm UTC](https://forum.rasa.com/t/valueerror-start-is-not-in-list-rasa/47334/1 "2021-08-31T13:38:54Z")

</div>

Similar to this user in [SO](https://stackoverflow.com/questions/68613192/rasa-encountering-error-with-telegram-start-is-not-in-list), I can’t make Rasa to interact with telegram messages, as it gets stuck on this error:

> **Error**
>
> ```
> 
> Exception occurred while handling uri: 'http://XXXX-XX-XXX-XX-XXX.ngrok.io/webhooks/telegram/webhook'
> Traceback (most recent call last):
> File "/usr/local/lib/python3.7/dist-packages/sanic/app.py", line 931, in handle_request
> response = await response
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/channels/telegram.py", line 265, in message
> metadata=metadata,
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/channels/channel.py", line 89, in handler
> await app.agent.handle_message(message)
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/agent.py", line 577, in handle_message
> return await processor.handle_message(message)
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/processor.py", line 108, in handle_message
> await self._predict_and_execute_next_action(message.output_channel, tracker)
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/processor.py", line 657, in _predict_and_execute_next_action
> action, prediction = self.predict_next_action(tracker)
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/processor.py", line 379, in predict_next_action
> prediction = self._get_next_action_probabilities(tracker)
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/processor.py", line 922, in _get_next_action_probabilities
> tracker, self.domain, self.interpreter
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/ensemble.py", line 817, in probabilities_using_best_policy
> winning_prediction = self._best_policy_prediction(tracker, domain, interpreter)
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/ensemble.py", line 698, in _best_policy_prediction
> for i, p in enumerate(self.policies)
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/ensemble.py", line 698, in 
> for i, p in enumerate(self.policies)
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/ensemble.py", line 730, in _get_prediction
> tracker, domain, interpreter
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/unexpected_intent_policy.py", line 577, in predict_action_probabilities
> domain, sequence_similarities, query_intent
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/unexpected_intent_policy.py", line 671, in _check_unlikely_intent
> if not self._should_check_for_intent(query_intent, domain):
> File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/unexpected_intent_policy.py", line 633, in _should_check_for_intent
> if domain.intents.index(intent) not in self.label_thresholds:
> ValueError: 'start' is not in list
> 
> ```

**Versions** :

```auto
Rasa Version : 2.8.3
Minimum Compatible Version: 2.8.0
Rasa SDK Version : 2.8.1
Rasa X Version : None
Python Version : 3.7.11
Operating System : Linux-5.4.104+-x86_64-with-Ubuntu-18.04-bionic
Python Path : /usr/bin/python3

```

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [August 31, 2021, 5:20pm UTC](https://forum.rasa.com/t/valueerror-start-is-not-in-list-rasa/47334/2 "2021-08-31T17:20:32Z")

</div>

The first time you send a message to a bot in telegram is the command **/start** , due to the ‘/’ it is interpreted as an intent in rasa. Add “start” as an intent in your domain file and a story/rule with a welcome message.

---

<div class="post-metadata">

**Author:** ![andrejankas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/andrejankas/32/16812_2.png) [@andrejankas](https://forum.rasa.com/u/andrejankas)\
**Post date:** [August 31, 2021, 6:57pm UTC](https://forum.rasa.com/t/valueerror-start-is-not-in-list-rasa/47334/3 "2021-08-31T18:57:26Z")

</div>

@Gehova Nice hack. I feel that this could somehow be stated in telegram [docs](https://rasa.com/docs/rasa/connectors/telegram). Btw: It is annoying to add intents for `/start` `/stop`, etc.
