Video Response Error TypeError: can only concatenate str (not "dict") to str

trying to make the chatbot respond with a video at a specific input, but keep getting this error TypeError: can only concatenate str (not “dict”) to str

this is a link to my rasa directory show the problems.

Additionally here is the code of interest action=> acton.py from typing import Any, Text, Dict, List

from rasa_sdk import Action, Tracker from rasa_sdk.executor import CollectingDispatcher

class ActionHelloWorld(Action):

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

 def run(self, dispatcher: CollectingDispatcher,
         tracker: Tracker,
         domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:

   
     msg = { "type": "video", "payload": { "title": "Link name", "src": "https://www.youtube.com/watch?v=6IeAiaPNw7s" } }

     dispatcher.utter_message(text="Check this video: ",attachment=msg)
     
     return []

domain.py

utter_winter_byYe:

the goal is have the phonk walk video produce base on the response walk but I get the error

any help is great apprecated.

figured it out, keep the action section commented out, this is for Rasa 3

Can you explain in more detail what was the reason for the error? I’m getting the same error.