YAMLException: end of the stream or a document separator is expected at line 12, column 1:
fileStructureValidation:
^
at E (https://zinc2023.ust.dev/_next/static/chunks/3725-a2c586579e2561d8.js:1:139122)
at I (https://zinc2023.ust.dev/_next/static/chunks/3725-a2c586579e2561d8.js:1:139220)
at $ (https://zinc2023.ust.dev/_next/static/chunks/3725-a2c586579e2561d8.js:1:153042)
at L (https://zinc2023.ust.dev/_next/static/chunks/3725-a2c586579e2561d8.js:1:153479)
at q (https://zinc2023.ust.dev/_next/static/chunks/3725-a2c586579e2561d8.js:1:153698)
at C (https://zinc2023.ust.dev/_next/static/chunks/6972-58787b9c407b1dfb.js:1:32370)
at https://zinc2023.ust.dev/_next/static/chunks/6972-58787b9c407b1dfb.js:1:16122
at https://zinc2023.ust.dev/_next/static/chunks/3725-a2c586579e2561d8.js:1:114862
at https://zinc2023.ust.dev/_next/static/chunks/3725-a2c586579e2561d8.js:1:114201
at https://zinc2023.ust.dev/_next/static/chunks/3725-a2c586579e2561d8.js:1:114836
Solution
Try trimLeft() on the YAML config in the Monaco Editor before saving to the database.
Description
_settings
) in the YAML:Solution
Try
trimLeft()
on the YAML config in the Monaco Editor before saving to the database.