Back to Withastro

Failed to parse Markdown frontmatter.

src/content/docs/en/reference/errors/markdown-frontmatter-parse-error.mdx

latest523 B
Original Source

import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />

Example error messages:

cannot read an implicit mapping pair; a colon is missed

unexpected end of the stream within a double quoted scalar

cannot read a block mapping entry; a multiline key may not be an implicit key

What went wrong?

Astro encountered an error while parsing the frontmatter of your Markdown file. This is often caused by a mistake in the syntax, such as a missing colon or a missing end quote.