Skip to content

astro

Content and data cannot be in same collection.

Astro

Content and data cannot be in same collection.

Content and data cannot be in same collection.

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

MixedContentDataCollectionError: COLLECTION_NAME contains a mix of content and data entries. All entries must be of the same type.

What went wrong?

A legacy content collection cannot contain a mix of content and data entries. You must store entries in separate collections by type.

See Also: