Error while creating tempates for asking forms in action server

Couldn’t create message for response:

This was the error I was getting

My action file:

class AskForSlotAction(Action):

    def name(self) -> Text:

        return "action_ask_can_number"

    def run(

        self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict

    ) -> List[EventType]:

        dispatcher.utter_message(text ="What cuisine?")

        return []

Hello @sandeep2213

I’m not sure if the space between text and = is allowed in python. Can you please post the rest of the error message and where you see it? Also, what is the output of rasa --version?