# Multiple FormAction class

**URL:** <https://forum.rasa.com/t/multiple-formaction-class/12862>\
**Category:** Rasa Open Source\
**Created:** [July 12, 2019, 10:40am UTC](https://forum.rasa.com/t/multiple-formaction-class/12862 "2019-07-12T10:40:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IbtihajT](https://avatars.discourse-cdn.com/v4/letter/i/c68b51/32.png) [@IbtihajT](https://forum.rasa.com/u/IbtihajT)\
**Post date:** [July 12, 2019, 10:40am UTC](https://forum.rasa.com/t/multiple-formaction-class/12862/1 "2019-07-12T10:40:43Z")

</div>

I’m making a bot that takes user’s information and saves it database. I am able to do that via FormAction. Now my next goal is to understand what kind of cloth categories does the user wants. I made another FormAction class for the purpose where i take the cloth category and process it. Now that bot seems to understand the intent but i get the error

```
Encountered an exception while running action 'category_form'. Bot will continue, but 
the actions events are lost. Make sure to fix the exception in your custom code.

```

My actions.py is attached.[actions.py](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/a/acce87b2ad88bb9c813c618d6ef907bec3f0964b.py) (2.0 KB)
