ValueError: "start" is not in list rasa

Similar to this user in SO, I can’t make Rasa to interact with telegram messages, as it gets stuck on this error:


Exception occurred while handling uri: ''
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/sanic/", line 931, in handle_request
    response = await response
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/channels/", line 265, in message
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/channels/", line 89, in handler
    await app.agent.handle_message(message)
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/", line 577, in handle_message
    return await processor.handle_message(message)
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/", 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/", 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/", line 379, in predict_next_action
    prediction = self._get_next_action_probabilities(tracker)
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/", line 922, in _get_next_action_probabilities
    tracker, self.domain, self.interpreter
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/", 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/", line 698, in _best_policy_prediction
    for i, p in enumerate(self.policies)
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/", line 698, in 
    for i, p in enumerate(self.policies)
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/", line 730, in _get_prediction
    tracker, domain, interpreter
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/", line 577, in predict_action_probabilities
    domain, sequence_similarities, query_intent
  File "/usr/local/lib/python3.7/dist-packages/rasa/core/policies/", 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/", line 633, in _should_check_for_intent
    if domain.intents.index(intent) not in self.label_thresholds:
ValueError: 'start' is not in list


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

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.

@Gehova Nice hack. I feel that this could somehow be stated in telegram docs. Btw: It is annoying to add intents for /start /stop, etc.