Custom action does not return the response or throw any errors

Hi,

I have created stories where the bot should return a hardcoded URL (inside the custom action) when asked info about any company.

Below is the code from ‘actions.py’ file.

from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
from rasa_core_sdk import Action
from rasa_core_sdk.events import SlotSet

class AboutCompany(Action):
    
    RANDOMIZE = False
    def name(self):
        return 'about_company'
    def run(self, dispatcher, tracker, domain):
        response = "here is the information you asked for https://companyabc.com/#aboutBox"
        dispatcher.utter_message("Ok, here is the information you asked for.")
        dispatcher.utter_message(response)
        return [SlotSet("Here is the information you asked for", response if response is not None else [])]

**Below is the output I get:**
**User: Hi**
**Bot: Hello, How may I help you?**
**User: Who are your clients?**
**Bot: (No response)**

The output image below:

hey @vishnuragas,you have commented the dispatcher.utter_message thats its not showing any reaponse from custom action, just uncomment it and test,it should work😃

@JiteshGaikwad Oh, No,I was testing something else and commented those lines. Uncommented them and the results are same.

ok so have you registered your actions in domain.yml file?

@JiteshGaikwad Yeah I have added the custom action to the domain.yml file.

what about stories, have you mentioned it there?

Yeah, I did mention it there. It works after I did this. I just tested by restarting the custom action server by running:

python -m rasa_core_sdk.endpoint --actions actions

Then ran the model using:

python dialogue_management_model.py

great