Rasa Forms error


I’m just getting started with forms and am constanly getting an error message once i extract an entity. This is the error that occurs.

rasa.core.processor - Encountered an exception while running action 'directions_form'. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.

When running debug I can confirm that the entity is correctly extracted but still the error occurs.


class ActionRequestDirections(FormAction):
    """Example of a custom form action"""

    def name(self):
        """Unique identifier of the form"""
        return "directions_form"

    def required_slots(tracker: Tracker) -> List[Text]:
        """A list of required slots that the form has to fill"""

        return ["to_location", "from_location"]

    def submit(self):

        dispatcher.utter_template('utter_submit', tracker)
        return []

Why does this error occur? If you need me to provide any additional information just ask, thanks!

I can also mention that I always manage to extract one of the two entities in the form.

I found the error once i followed the example in the 1.6.x branch instead of the master branch

1 Like