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

Collection contains entries of a different type.

ContentCollectionTypeMismatchError: COLLECTION contains EXPECTED_TYPE entries, but is configured as a ACTUAL_TYPE collection.

Content collections must contain entries of the type configured. Collections are type: 'content' by default. Try adding type: 'data' to your collection config for data collections.

See Also:

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community