If I keep just one field in YAML header there is no error. If I add another one it will throw the error.
Yes, Im sure that input is giving that output (there is cosmetic typo correction: sorce > source)
I have error across all my notes! So it it looks like it is not error that is related to context in YAML.