# Custom Action Server

**URL:** <https://forum.rasa.com/t/custom-action-server/45683>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [July 13, 2021, 8:32am UTC](https://forum.rasa.com/t/custom-action-server/45683 "2021-07-13T08:32:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yashwant](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yashwant/32/15287_2.png) [@yashwant](https://forum.rasa.com/u/yashwant)\
**Post date:** [July 13, 2021, 8:32am UTC](https://forum.rasa.com/t/custom-action-server/45683/1 "2021-07-13T08:32:22Z")

</div>

Hi,

I want to configure a custom action server that is running as a separate pod. I am currently using the Rasa X helm chart for setting it up.

I have made the following changes in the values files:

```auto
app:
  install: false
  endpoints:
    healthCheckUrl: http://some-ms/health
    actionEndpointUrl: http://some-ms/customAction

```

I am facing an issue here when I try to train the model. The action name has been specified in the domain file, under the actions and has also been mentioned in the training data of a story. However, when I train the model, the worker throws an error telling that the action was not found.

Can someone please help me out here?

---

<div class="post-metadata">

**Author:** ![jusce17](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jusce17/32/10023_2.png) [@jusce17](https://forum.rasa.com/u/jusce17)\
**Post date:** [July 13, 2021, 10:48am UTC](https://forum.rasa.com/t/custom-action-server/45683/2 "2021-07-13T10:48:19Z")

</div>

Can you pu the complete error message ?

I am yet to use Rasa X helm chart, but I believe it shouldn’t affect your model training, perhaps there is a misspelling on your actions

---

<div class="post-metadata">

**Author:** ![yashwant](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yashwant/32/15287_2.png) [@yashwant](https://forum.rasa.com/u/yashwant)\
**Post date:** [July 13, 2021, 11:31am UTC](https://forum.rasa.com/t/custom-action-server/45683/3 "2021-07-13T11:31:21Z")

</div>

```
raise ActionNotFoundException(

```

rasa.shared.core.domain.ActionNotFoundException: Cannot access action ‘action\_hello\_world’, as that name is not a registered action for this domain. Available actions are:

actions:

- action\_hello\_world

This is the line in the domain.yaml file.

=================================

To avoid this scenario, I also tried to do this via a python action server and I am getting the same error.

---

<div class="post-metadata">

**Author:** ![yashwant](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/yashwant/32/15287_2.png) [@yashwant](https://forum.rasa.com/u/yashwant)\
**Post date:** [July 13, 2021, 11:37am UTC](https://forum.rasa.com/t/custom-action-server/45683/4 "2021-07-13T11:37:25Z")

</div>

2021-07-13 11:13:21 INFO rasa\_sdk.endpoint - Starting action endpoint server… 2021-07-13 11:13:21 INFO rasa\_sdk.executor - Registered function for ‘action\_hello\_world’. 2021-07-13 11:13:21 INFO rasa\_sdk.endpoint - Action endpoint is up and running on [http://0.0.0.0:5055](http://0.0.0.0:5055)

There are the logs in my custom action pod which has been deployed on K8s

---

<div class="post-metadata">

**Author:** ![jusce17](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jusce17/32/10023_2.png) [@jusce17](https://forum.rasa.com/u/jusce17)\
**Post date:** [July 13, 2021, 1:29pm UTC](https://forum.rasa.com/t/custom-action-server/45683/5 "2021-07-13T13:29:01Z")

</div>

Can you share your Domain.yml file ?

> [@yashwant](#):
>
> INFO rasa\_sdk.executor - Registered function for ‘action\_hello\_world’.

Here it recognize the the actions is indeed in your python script, however, I still believe there might be something missing on your domain file.

I removed one of my actions from the domain file on propose and I got the following error:

```
ActionNotFoundException: Cannot access action 'action_utter_usefulness_deny', as that name is not a registered action for this domain. Available actions are:
- action_test_1
- action_test_2
- action_test_3

```

The `ActionNotFoundException:` usually happens when you have an action in your stories and not on your domain.

Would be awesome if you could share your domain structure so we can rule this out
