# Returning empty array when running Rasa Core command line

**URL:** <https://forum.rasa.com/t/returning-empty-array-when-running-rasa-core-command-line/1963>\
**Category:** Rasa Open Source\
**Created:** [October 17, 2018, 9:43am UTC](https://forum.rasa.com/t/returning-empty-array-when-running-rasa-core-command-line/1963 "2018-10-17T09:43:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TiewKH](https://avatars.discourse-cdn.com/v4/letter/t/e495f1/32.png) [@TiewKH](https://forum.rasa.com/u/TiewKH)\
**Post date:** [October 17, 2018, 9:43am UTC](https://forum.rasa.com/t/returning-empty-array-when-running-rasa-core-command-line/1963/1 "2018-10-17T09:43:46Z")

</div>

rasa-core: 0.11.12

rara-core-sdk: 0.11.5

rasa-nlu: 0.13.7

I have successfully trained a Rasa NLU Interpreter with my training data and have confirmed that the intent and entities output are correct.

Then, I created Domain, Stories and Custom Actions in for my agent in Rasa Core. I have 2 Custom Actions where I implemented in action.py.

My story is just to execute the custom action

```
## story_1
* get_description("product": "a")
   - action_get_description

```

After training the dialogue model, I ran a Python script to try the bot on console.

```
interpreter = RasaNLUInterpreter("models/nlu/default/chat")

action_endpoint =EndpointConfig(url="http://localhost:5055/webhook")

agent =Agent.load("models/dialogue", interpreter=interpreter, action_endpoint=action_endpoint)

run.serve_application(agent, channel='cmdline')

```

But when I tried entering any sentence, it returns an empty array and it’s not uttering the lines I set in dispatcher.utter\_message() in the custom actions. I’m not sure how to fix this. Thank you in advance for any suggestions.

---

<div class="post-metadata">

**Author:** ![TiewKH](https://avatars.discourse-cdn.com/v4/letter/t/e495f1/32.png) [@TiewKH](https://forum.rasa.com/u/TiewKH)\
**Post date:** [October 17, 2018, 10:24am UTC](https://forum.rasa.com/t/returning-empty-array-when-running-rasa-core-command-line/1963/2 "2018-10-17T10:24:02Z")

</div>

I didn’t know that the actions server had to be run separately.

I have to run:

`python -m rasa_core_sdk.endpoint --actions action`

before running my script to activate the bot.
