# Formbot - TypeError: utter\_message() missing 1 required positional argument: 'text'

**URL:** <https://forum.rasa.com/t/formbot-typeerror-utter-message-missing-1-required-positional-argument-text/24128>\
**Category:** Tutorials, Resources & Videos\
**Created:** [January 29, 2020, 2:50pm UTC](https://forum.rasa.com/t/formbot-typeerror-utter-message-missing-1-required-positional-argument-text/24128 "2020-01-29T14:50:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cekir](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cekir/32/8115_2.png) [@Cekir](https://forum.rasa.com/u/Cekir)\
**Post date:** [January 29, 2020, 2:50pm UTC](https://forum.rasa.com/t/formbot-typeerror-utter-message-missing-1-required-positional-argument-text/24128/1 "2020-01-29T14:50:16Z")

</div>

Hi, I am trying to go through the formbot example. The way it is written does not train at all, as the messages in the domain.yml file are gathered in the “responses” section. Rasa does not understand this section. Am I missing something?  
So, I have added the utter actions and changed the "responses"section to “templates”. It does train this way.  
Now, When I run the conversation and I provide a non-existent cuisine (e.g. “finnish”), the action server throws the exception: `TypeError: utter_message() missing 1 required positional argument: 'text'` when it tries to use the utter\_wrong\_cuisine template.  
Any ideas what is happening?

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [January 29, 2020, 5:15pm UTC](https://forum.rasa.com/t/formbot-typeerror-utter-message-missing-1-required-positional-argument-text/24128/2 "2020-01-29T17:15:12Z")

</div>

which version of Rasa are you using? and could you post the full stack trace?

The “templates” section was renamed to “responses” here: [https://github.com/RasaHQ/rasa/pull/5078](https://github.com/RasaHQ/rasa/pull/5078) but these changes are not in a release yet. Are you working from the master branch?

---

<div class="post-metadata">

**Author:** ![Cekir](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cekir/32/8115_2.png) [@Cekir](https://forum.rasa.com/u/Cekir)\
**Post date:** [January 30, 2020, 9:06pm UTC](https://forum.rasa.com/t/formbot-typeerror-utter-message-missing-1-required-positional-argument-text/24128/3 "2020-01-30T21:06:52Z")

</div>

Yes, I was using the master branch. It happened on both 1.6 and 1.4.  
Interesting. I have just installed Rasa 1.7 on a new environment and it says that templates have been renamed to responses 🙂

---

<div class="post-metadata">

**Author:** ![mloubser](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/mloubser/32/13021_2.png) [@mloubser](https://forum.rasa.com/u/mloubser)\
**Post date:** [January 31, 2020, 1:51pm UTC](https://forum.rasa.com/t/formbot-typeerror-utter-message-missing-1-required-positional-argument-text/24128/4 "2020-01-31T13:51:40Z")

</div>

Ok, yes if you were using examples from master, but rasa release 1.6/1.4 that would make sense. 1.7 just released - if you use examples & code from the same release, does everything work?

---

<div class="post-metadata">

**Author:** ![Cekir](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/cekir/32/8115_2.png) [@Cekir](https://forum.rasa.com/u/Cekir)\
**Post date:** [February 21, 2020, 11:46am UTC](https://forum.rasa.com/t/formbot-typeerror-utter-message-missing-1-required-positional-argument-text/24128/5 "2020-02-21T11:46:54Z")

</div>

Yes, after upgrading Rasa, everything works well. Thank you.
