# Action not registered error

**URL:** <https://forum.rasa.com/t/action-not-registered-error/1456>\
**Category:** Rasa Open Source\
**Created:** [September 27, 2018, 2:00pm UTC](https://forum.rasa.com/t/action-not-registered-error/1456 "2018-09-27T14:00:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![azizullah2017](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/azizullah2017/32/241_2.png) [@azizullah2017](https://forum.rasa.com/u/azizullah2017)\
**Post date:** [September 27, 2018, 2:00pm UTC](https://forum.rasa.com/t/action-not-registered-error/1456/1 "2018-09-27T14:00:11Z")

</div>

Exception: No registered Action found for name ‘action\_example’. 127.0.0.1 - - [2018-09-27 18:52:44] “POST /webhook HTTP/1.1” 500 412 0.001259

rasa\_core.actions.action - Failed to run custom action ‘action\_example’. Action server responded with a non 200 status code of 500. Make sure your action server properly runs actions and returns a 200 once the action is executed. Error: 500 Server Error: INTERNAL SERVER ERROR for url: [http://localhost:5055/webhook](http://localhost:5055/webhook) 2018-09-27 18:52:44 ERROR rasa\_core.processor - Encountered an exception while running action ‘action\_example’. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code. 2018-09-27 18:52:44 ERROR rasa\_core.processor - Failed to execute custom action.

actions.py location in along side the action.py rasa core

from rasa\_core\_sdk import Action

class ActionTest(Action): def name(self):

```
  return "action_example"

```

def run(self, dispatcher, tracker, domain): # type: (Dispatcher, DialogueStateTracker, Domain) -\> List[Event] dispatcher.utter\_template(“utter\_ask\_name”, tracker)

Domain.yml

slots: name: type: text

intents:

- Greet
- affirm
- deny
- close

templates: utter\_ask\_name: - “May I have your first and last name please?”

actions:

- utter\_ask\_name
- action\_example

stories :

## Generated Story -2116955147822496342

- Greet
  - action\_example

### story 2

- deny
  - action\_example

## Generated Story 391231716455346403042

- Greet
  - action\_example

---

<div class="post-metadata">

**Author:** ![rasa5](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@rasa5](https://forum.rasa.com/u/rasa5)\
**Post date:** [February 7, 2019, 6:06pm UTC](https://forum.rasa.com/t/action-not-registered-error/1456/2 "2019-02-07T18:06:11Z")

</div>

@azizullah2017

Did you find any solution?

---

<div class="post-metadata">

**Author:** ![azizullah2017](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/azizullah2017/32/241_2.png) [@azizullah2017](https://forum.rasa.com/u/azizullah2017)\
**Post date:** [February 8, 2019, 5:31am UTC](https://forum.rasa.com/t/action-not-registered-error/1456/3 "2019-02-08T05:31:20Z")

</div>

yes, have you added you action in your domain file ?? you have to add the 'action example ’ in list of actions in domain file. and check the location of actions where is located and check where the location you are referring these. and check your endpoint file too. feel free to ask.

---

<div class="post-metadata">

**Author:** ![karanshah150696](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@karanshah150696](https://forum.rasa.com/u/karanshah150696)\
**Post date:** [April 19, 2019, 9:42am UTC](https://forum.rasa.com/t/action-not-registered-error/1456/4 "2019-04-19T09:42:51Z")

</div>

Error : – 2019-04-19 09:31:35 ERROR rasa\_core\_sdk.executor - Failed to register package ‘actions.actions’

Docker-compose file:

```
    version: '3.0'

services:
   rasa_core:
    image: rasa/rasa_core:latest
    networks: ['rasa-network']
   ports:
   - "5005:5005"
    volumes:
  - "./rasa-app-data/models/current/dialogue:/app/model"
    - "./rasa-app-data/config:/app/config"
    - "./rasa-app-data/project:/app/project"
 command:
  - start
  - -d
  - ./model
  - -c
  - rest
  - -u
 - current/nlu
 - --endpoints
 - config/endpoints.yml

  action_server:
     image: rasa/rasa_core_sdk:latest
     networks: ['rasa-network']
     ports:
     - "5055:5055"
    volumes:
     - "./rasa-app-data/actions:/app/actions"

  rasa_nlu:
    image: rasa/rasa_nlu:latest-full
    networks: ['rasa-network']
    ports:
    - "5000:5000"
    volumes:
    - "./rasa-app-data/models/:/app/projects"
    - "./rasa-app-data/logs:/app/logs"

  duckling:
     image: rasa/duckling:latest
     networks: ['rasa-network']
     ports:
     - "8000:8000

networks: {rasa-network: {}}
```

---

<div class="post-metadata">

**Author:** ![azizullah2017](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/azizullah2017/32/241_2.png) [@azizullah2017](https://forum.rasa.com/u/azizullah2017)\
**Post date:** [May 20, 2019, 4:35am UTC](https://forum.rasa.com/t/action-not-registered-error/1456/5 "2019-05-20T04:35:32Z")

</div>

can you share yourdomain.yml file
