Back to Withastro

Data collection entry failed to parse.

src/content/docs/en/reference/errors/data-collection-entry-parse-error.mdx

latest307 B
Original Source

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

<DontEditWarning />

COLLECTION_ENTRY_NAME failed to parse.

What went wrong?

Collection entries of type: 'data' must return an object with valid JSON (for .json entries), YAML (for .yaml entries) or TOML (for .toml entries).