Rules.yml error code

Hi, I’m quite new to coding in general and despite pushing my way through more errors than I can count I have encountered one that has me stumped.

When trying to run the rasa train command, I am being blocked by the following error.

strong text**YamlSyntaxException: Failed to read ‘data\rules.yml’. found undefined alias in “data\rules.yml”, line 33, column 22

*You can use https://yamlchecker.com/ to validate the YAML syntax of your file.*strong text

I am hoping that this is a common issue because I have been at it for hours. Any help would be greatly appreciated. Thanks.

Extending on that, I have tried modifying the rules.yml file, I’ve re-written most of the yml files because the ones that were provided with the source code contained errors. The error you see above has been present since before I changed any of the yml files.

Highly suggest to put the yaml file itself here. But high chances that it might be yaml syntax error itself, thus suggest to use yaml syntax checkers.
If yaml format is correct, then it could be that some block name could have been misspelled and thus rasa isnt able to recognize.