Back to Withastro

Duplicate content entry slug.

src/content/docs/en/reference/errors/duplicate-content-entry-slug-error.mdx

latest319 B
Original Source

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

<DontEditWarning />

COLLECTION_NAME contains multiple entries with the same slug: SLUG. Slugs must be unique.

What went wrong?

Content collection entries must have unique slugs. Duplicates are often caused by the slug frontmatter property.