# Actions not working

**URL:** <https://forum.rasa.com/t/actions-not-working/14848>\
**Category:** Rasa Open Source\
**Created:** [August 27, 2019, 5:55am UTC](https://forum.rasa.com/t/actions-not-working/14848 "2019-08-27T05:55:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![heillcome](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@heillcome](https://forum.rasa.com/u/heillcome)\
**Post date:** [August 27, 2019, 5:55am UTC](https://forum.rasa.com/t/actions-not-working/14848/1 "2019-08-27T05:55:29Z")

</div>

hi, I want to run rasa default custom action, I mean hello world. but it seems it doesn’t work. I uncommented ActionHelloWorld class in Actions file, then I uncommented action\_endpoint: url: “[http://localhost:5055/webhook](http://localhost:5055/webhook)” in endpoint file. after that, I inserted “action\_hello\_world” in actions in domain file. then I inserted “action\_hello\_world” in the story.

in one terminal I run: rasa run actions and in another I run: rasa shell --endpoints endpoints.yml where did I wrong?

---

<div class="post-metadata">

**Author:** ![tmbo](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tmbo/32/19_2.png) [@tmbo](https://forum.rasa.com/u/tmbo)\
**Post date:** [August 27, 2019, 6:25am UTC](https://forum.rasa.com/t/actions-not-working/14848/2 "2019-08-27T06:25:52Z")

</div>

Hey and welcome! The steps you posted sound good - can you run with `--debug` and add the log output here to the question?

---

<div class="post-metadata">

**Author:** ![heillcome](https://avatars.discourse-cdn.com/v4/letter/h/a587f6/32.png) [@heillcome](https://forum.rasa.com/u/heillcome)\
**Post date:** [August 27, 2019, 7:30am UTC](https://forum.rasa.com/t/actions-not-working/14848/3 "2019-08-27T07:30:38Z")

</div>

somehow when I removed old trained models and train the rasa again it worked, but there is another problem. it just can answer to one question. I mean when I send hi it calls action\_hello\_world(which is correct). but if ask any question it doesn’t answer anything. here is my story:

```
## say goodbye
* goodbye
  - utter_goodbye
  
## normal path
* greet
  - action_hello_world

```

and here is domain file:

```
intents:
    - greet
    - goodbye

templates:
  utter_goodbye:
  - text: Bye
  
actions:
    - utter_goodbye
    - action_hello_world

```

this is debugging output:

```
Bot loaded. Type a message and press enter (use '/stop' to exit):
Your input -> hi
2019-08-27 12:02:06 DEBUG rasa.core.agent - Created a new lock for conversation 'default'
2019-08-27 12:02:06 DEBUG rasa.core.tracker_store - Creating a new tracker for id 'default'.
2019-08-27 12:02:06 DEBUG rasa.core.processor - Received user message 'hi' with intent '{'name': 'greet', 'confidence': 0.9595979452133179}' and entities '[]'
2019-08-27 12:02:06 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 2 events
2019-08-27 12:02:06 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, None, {}, {'prev_action_listen': 1.0, 'intent_greet': 1.0}]
2019-08-27 12:02:06 DEBUG rasa.core.policies.memoization - There is a memorised next action '8'
2019-08-27 12:02:06 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy
2019-08-27 12:02:06 DEBUG rasa.core.processor - Predicted next action 'action_hello_world' with confidence 1.00.
2019-08-27 12:02:07 DEBUG rasa.core.actions.action - Calling action endpoint to run action 'action_hello_world'.
2019-08-27 12:02:09 DEBUG rasa.core.processor - Action 'action_hello_world' ended with events '['BotUttered(text: Hello World!, data: {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, metadata: {})']'
2019-08-27 12:02:09 DEBUG rasa.core.policies.memoization - Current tracker state [None, None, {}, {'prev_action_listen': 1.0, 'intent_greet': 1.0}, {'prev_action_hello_world': 1.0, 'intent_greet': 1.0}]
2019-08-27 12:02:09 DEBUG rasa.core.policies.memoization - There is a memorised next action '0'
2019-08-27 12:02:09 DEBUG rasa.core.policies.mapping_policy - There is no mapped action for the predicted intent, 'greet'.
2019-08-27 12:02:09 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy
2019-08-27 12:02:09 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00.
2019-08-27 12:02:09 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'
2019-08-27 12:02:09 DEBUG rasa.core.agent - Deleted lock for conversation 'default' (unused)
Hello World!
Your input -> hi
2019-08-27 12:02:13 DEBUG rasa.core.agent - Created a new lock for conversation 'default'
2019-08-27 12:02:13 DEBUG rasa.core.tracker_store - Recreating tracker for id 'default'
2019-08-27 12:02:13 DEBUG rasa.core.processor - Received user message 'hi' with intent '{'name': 'greet', 'confidence': 0.9595979452133179}' and entities '[]'
2019-08-27 12:02:13 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 6 events
2019-08-27 12:02:13 DEBUG rasa.core.policies.memoization - Current tracker state [None, {}, {'prev_action_listen': 1.0, 'intent_greet': 1.0}, {'prev_action_hello_world': 1.0, 'intent_greet': 1.0}, {'prev_action_listen': 1.0, 'intent_greet': 1.0}]
2019-08-27 12:02:13 DEBUG rasa.core.policies.memoization - There is no memorised next action
2019-08-27 12:02:13 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_1_KerasPolicy
2019-08-27 12:02:13 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 0.40.
2019-08-27 12:02:13 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'
2019-08-27 12:02:13 DEBUG rasa.core.agent - Deleted lock for conversation 'default' (unused)

```

thank you in advance.
