When pasting this YAML file into an online yaml parser, I got an expected block end error:
ADDATTEMPTING: \'Tentative d ajout \' ATTEMPTINGTOGIVE: \'Tenter de do
YAML follows indentation structure very strictly. Even one space/tab can cause above issue. In my case it was just once space at the start.
So make sure no extra spaces/tabs are introduced while updating YAML file