Skip to content
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

Content and data cannot be in same collection.

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

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

See Also:

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community