Getting error while running the ACTION SERVER

events = action(dispatcher, tracker, domain) File “C:\Users\LENOVO\Desktop\RASA\”, line 50, in run entities = Tracker.latest_message.Text(‘entities’) AttributeError: type object ‘Tracker’ has no attribute ‘latest_message’ Getting the above error could anyone heklp me to resolve the error .TIA

Hi @nagababu,

Welcome to Rasa Community!.



Hi @MuraliChandran14 Tried getting the same error AttributeError: type object ‘Tracker’ has no attribute ‘latest_message’

Can you share your

class Search_rest(Action):

 def name(self) -> Text:

     return "action_search_rest"

 def run(self, dispatcher: CollectingDispatcher,

         tracker: Tracker,

         domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

         entities = Tracker.latest_message.get('entities')


         for e in entities:

             if e['entity'] == 'hotel':


             if name =='indian':

                 message = "Gateway,sweet Magic"

             if name == 'chinese':

                 message = 'chin1 , chin2'

             if name == 'italian':

                 message="itl1 , itl2"  

             if name == "american":

                 message="ame1 , ame2"  


         return []

yes, Thats needs to be changed to small ‘t’ tracker

Thank you .now there is no error but i am getting timeout exception shown below Task exception was never retrieved future: <Task finished coro=<configure_app..run_cmdline_io() done, defined at c:\users\lenovo\appdata\local\programs\python\python37\lib\site-packages\rasa\core\> exception=TimeoutError()>

Does your for loop is working fine, can you check?, If its working fine then

Install these requirements


I m not sure the requirements will do the job, But lets try and see! :slightly_smiling_face:

Thank you so much it’s working now. i already have these packages with the below versions google-auth==1.17.2 prompt-toolkit==2.0.10 questionary==1.5.2 SQLAlchemy==1.3.12 i am unable to install the following packages can u please help me with this urllib3==1.25.7