# Rasa error in MySQL

**URL:** <https://forum.rasa.com/t/rasa-error-in-mysql/47504>\
**Category:** Rasa Open Source\
**Created:** [September 6, 2021, 3:48am UTC](https://forum.rasa.com/t/rasa-error-in-mysql/47504 "2021-09-06T03:48:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SyedBilalHasan](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@SyedBilalHasan](https://forum.rasa.com/u/SyedBilalHasan)\
**Post date:** [September 6, 2021, 3:48am UTC](https://forum.rasa.com/t/rasa-error-in-mysql/47504/1 "2021-09-06T03:48:09Z")

</div>

Hello everyone i am facing an error in rasa which happens when a custom action of mine which pulls data from a MySQL database is triggered. This custom action is supposed to print the details that i asked for from the chatbot but rather than giving the response in the rasa shell it prints the response in my anaconda prompt where the server is running Here is a picture of it

This is the anaconda prompt where my rasa server is running

 ![Screenshot 2021-09-05 173646](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/7/b/7b37e254f01d6bf54ca31d6b742987d371ef9286.png)

and this is my rasa shell

 ![Screenshot 2021-09-05 173524](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/b/8/b873cd71624792834ca43bd500a62a742fc766b0.png)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [September 6, 2021, 6:01am UTC](https://forum.rasa.com/t/rasa-error-in-mysql/47504/2 "2021-09-06T06:01:07Z")

</div>

@SyedBilalHasan Syed. It is the nature of action server if you give the print command he will show you the output and for your response display in chatbot, you need to mention the utterance or text in `dispatcher.utter_message`

@SyedBilalHasan Are you using any API request for fetching the data and can you please share me `rasa --version` ?

---

<div class="post-metadata">

**Author:** ![ChrisRahme](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/chrisrahme/32/15572_2.png) [@ChrisRahme](https://forum.rasa.com/u/ChrisRahme)\
**Post date:** [September 6, 2021, 3:19pm UTC](https://forum.rasa.com/t/rasa-error-in-mysql/47504/3 "2021-09-06T15:19:32Z")

</div>

Can you show your action? Looks like you may be trying to do `utter_message()` on a number instead of a string.
