Why doesn't mapping policy trigger work?

  - request_music
       triggers: action_request_music
  - change_music

According to the documentation, I specified the “triggers” as above, where ‘action_request_music’ is a custom action. But I received the following error:

Traceback (most recent call last): File “/Users/Nlp/chatbot/dialog/train_core.py”, line 44, in loop.run_until_complete(train_dialogue(domain_file=domain_md_path, policy_config=“config.yml”, model_path=model_path, training_data_file=skill_md_path)) File “uvloop/loop.pyx”, line 1451, in uvloop.loop.Loop.run_until_complete File “/Users/Nlp/chatbot/dialog/train_core.py”, line 15, in train_dialogue agent = Agent(domain_file, policies=policies) File “/Users/Nlp/chatbot/rasa/core/agent.py”, line 290, in init self.domain = self._create_domain(domain) File “/Users/Nlp/chatbot/rasa/core/agent.py”, line 813, in _create_domain return Domain.load(domain) File “/Users/Nlp/chatbot/rasa/core/domain.py”, line 193, in load other = cls.from_path(path, skill_imports) File “/Users/Nlp/chatbot/rasa/core/domain.py”, line 207, in from_path domain = cls.from_file(path) File “/Users/Nlp/chatbot/rasa/core/domain.py”, line 220, in from_file return cls.from_yaml(rasa.utils.io.read_file(path)) File “/Users/lingvisa/Nlp/chatbot/beyond-rasa/rasa/core/domain.py”, line 224, in from_yaml cls.validate_domain_yaml(yaml) File “/Users/Nlp/chatbot/rasa/core/domain.py”, line 324, in validate_domain_yaml "The provided domain file is invalid. You can use " rasa.core.domain.InvalidDomain: The provided domain file is invalid. You can use http://www.yamllint.com/ to validate the yaml syntax of your domain file.

Why is it invalid domain?

This question has been resolved in another post. It is my mistake in specifying the trigger format.

Could you please mention the correct format here, thanks!