When pasting this YAML file into an online yaml parser, I got an expected block end error:
ADDATTEMPTING: 'Tentative d ajout ' ATTEMPTINGTOGIVE: 'Tenter de donner ' ATTEMPTINGTOSET1: 'Tentative de définition ' ATTEMPTINGTOSET2: ' avec ' ALREADYEXISTS: 'Erreur. Package existe déjà’ CANCEL1: 'Annulation...' (...)
Error
ERROR: while parsing a block mapping in "<unicode string>", line 1, column 1: ADDATTEMPTING: 'Tentative d ajout ' ^ expected <block end>, but found '<scalar>' in "<unicode string>", line 6, column 11: CANCEL1: 'Annulation...' ^
The line starting ALREADYEXISTS
uses ’
as the closing quote, it should be using '
. The open quote on the next line (where the error is reported) is seen as the closing quote, and this mix up is causing the error.
This error also occurs if you use four-space instead of two-space indentation.
e.g., the following would throw the error:
fields: - metadata: {} name: colName nullable: true
whereas changing indentation to two-spaces would fix it:
fields: - metadata: {} name: colName nullable: true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With