I am using rasa 2.8.0. I have registered a form in my domain.yml as “name_form”. In the action.py, I have a class “ValidateNameForm” which returns name “validate_name_form”. when I run with docker, action server is running and validate_name_form being registered but I’m getting following error:
Encountered an exception while running action ‘name_form’.
my question is, is it important that I create a class with name function that returns “name_form”?
Hi @mangesh! As it says in the docs for forms you can use custom actions to customize your form, e.g. to validate your slots, but if you don’t want to do that, there is also no need to add a class to your actions.py.
If I misunderstood your question, please let me know and we can try to solve it together!!
my question was that I am not returning any name as “name_form” but “validate_name_form”, so would it be right to do that because i got exception in running “name_form” form.
having said that, actually after analysing the action server logs:
the actual error that i am getting is
rasa.utils.endpoints.ClientResponseError: 404, Not Found,(some long html…) Requested URL /webhook not found’’
can you please help me with this?
@mangesh Heya! I guess you have seen this video https://youtu.be/CKn4ZBh9PpY which is perfect in all ways, and if you had used every steps as shown in video, then the cause of error is different.
@mangesh I would encourage, try run the code first on local machine (if code is complex) and then on docker. Even you have to manage all the requirement files for action.py
Happy to help you Have a great coding. If any doubt we are here. Good Luck! Buddy!