As a preface, I have updated rasa x, rasa-sdk, and rasa to all of their latest versions as of 9/8/19.
I am attempting to use custom actions in rasa x, and I have scoured through multiple forum posts, particularly this one: Can't Get my Custom Action to Work Yet, I am still unable to resolve the custom action error.
I also looked through this one which has my exact error: Custom action not found error
Essentially, I have the same error of:
Encountered an exception while running action 'action_get_hotel_link'. Bot will continue, but the actions events are lost. Please check the logs of your action server for more information.
I have followed all of the steps (as far as I can tell) that were mentioned in that post, and ultimately, here are all my associated files:
from typing import Dict, Text, Any, List, Union, Optional from rasa_sdk import Action, Tracker, ActionExecutionRejection from rasa_sdk.executor import CollectingDispatcher from rasa_sdk.forms import FormAction, REQUESTED_SLOT from rasa_sdk.events import Restarted class BookHotel (Action): def name(self): return 'action_get_hotel_link' def run(self, dispatcher, tracker, domain): sp_data = "this is a test" dispatcher.utter_message(sp_data) return 
domain.yml (necessary info)
actions: - action_default_ask_affirmation - action_default_fallback - action_get_hotel_link
action_endpoint: url: "http://localhost:5055/webhook" #core_endpoint: # url: http://localhost:5005
Note I was trying with both the core lines uncommented and commented, should I leave it uncommented?
I ran rasa run actions --actions actions (and I also tried rasa run actions --actions testbot.actions but I got: ModuleNotFoundError: No module named ‘testbot’ error so I just did it without testbot)
Any insight would be greatly appreciated! I am at a loss after reading all of the forum posts on this error, so I am beginning to think that it is the incompatibility issue between the sdk and rasa versions or I am missing something blatantly obvious (which is very likely).
Thank you all so much!