Custom Action Server Failed

2020-02-17 16:20:33 INFO rasa_sdk.endpoint - Starting action endpoint server… 2020-02-17 16:20:33 INFO rasa_sdk.executor - Registered function for ‘action_feature_search’.

I am unable to proceed further because rasa custom actions server is not working. Could you please help me resolve this?

I have un-commented action_endpoint: url: “http://localhost:5055/webhook

actions.py:

from typing import Any, Text, Dict, List

from rasa_sdk import Action, Tracker

from rasa_sdk.executor import CollectingDispatcher

from rasa_sdk.events import SlotSet

class ActionFeatureSearch(Action):

 def name(self) -> Text:
     return "action_feature_search"

 def run(self, dispatcher: CollectingDispatcher,
         tracker: Tracker,
         domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
 dispatcher.utter_message("Sure,I'm on it!")
     
 return[]

Hey @nikamsau, what’s the error?

The rasa action server is stuck on starting mode, it’s not proceeding further. (Status:First 4 lines)

Hey @nikamsau, I see the below message from the action server which states that the action server is up and running.

and I do checked ur actions.py code, I don’t see any error in that.

did you tried to call custom action from your stories and are you able to get response from the custom action?

and one more thing make sure you have registered your custom actions in the domain.yml file?

hey thanks!! I forgot to mention custom action in domain.yml file.

I am getting the same problem and my action is also mentionedi n domain.yml file, any more suggestions ?