# "rasa run actions" not working

**URL:** <https://forum.rasa.com/t/rasa-run-actions-not-working/26948>\
**Category:** Rasa Masterclass\
**Created:** [April 2, 2020, 12:48pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948 "2020-04-02T12:48:53Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steffen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/steffen/32/8087_2.png) [@Steffen](https://forum.rasa.com/u/Steffen)\
**Post date:** [April 2, 2020, 12:48pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/1 "2020-04-02T12:48:53Z")

</div>

Hello everybody,

I wanted to follow the RASA Masterclass but stuck at the end of Episode 6, because I am not able to run the command “rasa run actions”:

 ![Unbenannt](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/d/de266301a02c2c68867e9f3001cca696797ed096.jpeg)

Version: 1.9.4

Can anyone help? Many thanks in advance!

---

<div class="post-metadata">

**Author:** ![JulianGerhard](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/juliangerhard/32/3781_2.png) [@JulianGerhard](https://forum.rasa.com/u/JulianGerhard)\
**Post date:** [April 2, 2020, 1:27pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/2 "2020-04-02T13:27:25Z")

</div>

Hi @Steffen,

actually this seems to be fine. One custom action has been registered. What lead you to the impression that things don’t work?

Kind regards  
Julian

---

<div class="post-metadata">

**Author:** ![Steffen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/steffen/32/8087_2.png) [@Steffen](https://forum.rasa.com/u/Steffen)\
**Post date:** [April 2, 2020, 1:48pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/3 "2020-04-02T13:48:48Z")

</div>

Hi @JulianGerhard,

I am a little bit confused because Justé used the “rasa run actions & rasa shell” commands together in the Masterclass and she received a message that the endpoint is established. That’s why I was thinking my endpoint is not established:

Screenshot of Masterclass:

 ![MasterClass_E06_Juste](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/2/238f1b242db78d103f0467456eb75691af409b5d.jpeg)

I found a hint that I shoul run the “rasa shell” in a second terminal but when I try to communicate with my bot he doesn’t get the entities:

 ![Rasa_shell](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/8/87aeca12451fea8dd8cad4b3ebd431306d788508.jpeg)

So it’s None instead of hospital as it should be. And when I provide a City he just says goodbye and does not activate the action\_facility\_search. Maybe there is another problem?

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [April 2, 2020, 1:54pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/4 "2020-04-02T13:54:00Z")

</div>

Hi @Steffen, sorry for the confusion, but that log (Action endpoint is up and running) does not appear since we migrated rasa sdk to sanic.

---

<div class="post-metadata">

**Author:** ![Steffen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/steffen/32/8087_2.png) [@Steffen](https://forum.rasa.com/u/Steffen)\
**Post date:** [April 2, 2020, 1:59pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/5 "2020-04-02T13:59:15Z")

</div>

Hi @erohmensing,

Ah ok thanks a lot! So I guess there must be another problem why it’s not working …

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [April 2, 2020, 2:12pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/6 "2020-04-02T14:12:37Z")

</div>

Looks like the actions are working fine! because the form is beign called. It seems that the entity somehow not getting into the facility\_type slot.

---

<div class="post-metadata">

**Author:** ![pandaxar](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@pandaxar](https://forum.rasa.com/u/pandaxar)\
**Post date:** [April 2, 2020, 2:20pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/7 "2020-04-02T14:20:12Z")

</div>

Good afternoon Ella , is there a reason why rasa sdk was migrated to sanic ? and since when did that happen ?

---

<div class="post-metadata">

**Author:** ![BeppeC](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/beppec/32/8111_2.png) [@BeppeC](https://forum.rasa.com/u/BeppeC)\
**Post date:** [April 3, 2020, 3:49pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/8 "2020-04-03T15:49:20Z")

</div>

Hi Steffen I had a similar problem and I found out I was missing a double-quote in my stories file. You can refer to [GitHub - RasaHQ/rasa-masterclass: Data and code files for specific Rasa Masterclass episodes](https://github.com/RasaHQ/rasa-masterclass) to double check your code.

Good luck

---

<div class="post-metadata">

**Author:** ![Steffen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/steffen/32/8087_2.png) [@Steffen](https://forum.rasa.com/u/Steffen)\
**Post date:** [April 6, 2020, 5:28am UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/9 "2020-04-06T05:28:34Z")

</div>

Hi BeppeC, I wasn’t exactly the problem you described, but I figuered out that you should’t have a space between a word that shall be recognized as an entity and the specified entity type. For example `

```auto
## intent: search_provider
- I need a [hospital](facility_type)

```

---

<div class="post-metadata">

**Author:** ![hamzaghannem2](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/hamzaghannem2/32/8532_2.png) [@hamzaghannem2](https://forum.rasa.com/u/hamzaghannem2)\
**Post date:** [April 22, 2020, 12:03am UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/10 "2020-04-22T00:03:40Z")

</div>

> [@Steffen](#):
>
> between

I faced the same issue , this is my actions.py ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/a/a5f9683bef62d8eaffa603c15cc346b4ad515598.png)

class SearchChromeAction(Action):

def name(self) → Text: return “SearchChrome” def run(self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) → List[Dict[Text, Any]]: driver = webdriver.Chrome(“c:\Users\go home\Music\chromedriver”) driver.get(“[http://www.google.com](http://www.google.com)”) data=tracker.get\_slot(“datatype”) que = driver.find\_element\_by\_xpath(“//input[@name=‘q’]”) que.send\_keys(data) que.send\_keys(Keys.RETURN) dispatcher.utter\_message(text=“done”)

```
   return []

```

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/f/ff7442a2acd86aec436883d658ee32e8fb8ec63a.png)

---

<div class="post-metadata">

**Author:** ![nazir](https://avatars.discourse-cdn.com/v4/letter/n/c89c15/32.png) [@nazir](https://forum.rasa.com/u/nazir)\
**Post date:** [August 25, 2020, 4:27pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/11 "2020-08-25T16:27:16Z")

</div>

I am also having issues with my rasa run actions & rasa shell. Attached is my screen shot. What am getting wrong or doing wrong?

 ![rasa run actions & rasa shell error](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/c8233637a47f78686025c99ef2457be7e709beed.png)

---

<div class="post-metadata">

**Author:** ![Steffen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/steffen/32/8087_2.png) [@Steffen](https://forum.rasa.com/u/Steffen)\
**Post date:** [August 26, 2020, 5:38am UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/12 "2020-08-26T05:38:45Z")

</div>

Hi Nazir,

try to seperate both commands in two terminal windows.

So first start a terminal with “rasa run actions” and then a second terminal window with “rasa shell”

It’s not working anymore to combine these two commands. I hope that helps.

---

<div class="post-metadata">

**Author:** ![nazir](https://avatars.discourse-cdn.com/v4/letter/n/c89c15/32.png) [@nazir](https://forum.rasa.com/u/nazir)\
**Post date:** [August 26, 2020, 12:01pm UTC](https://forum.rasa.com/t/rasa-run-actions-not-working/26948/13 "2020-08-26T12:01:58Z")

</div>

Hello Steffen, Thanks for the information. I did try running only the rasa run actions. I was however naively expecting a prompt after the server is up and running to input the second command (which never came). Appreciate your response Sir.
