# Custom Action Error

[@salman](https://forum.rasa.com/u/salman) You should import actions and events from `rasa_core_sdk` rather than `rasa core`:

```python
from rasa_core_sdk import Action
from rasa_core_sdk.events import SlotSet
```

That should allow your server to register the custom events.
