Skip to content

astro

Collection contains entries of a different type.

Astro

Collection contains entries of a different type.

Collection contains entries of a different type.

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

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

What went wrong?

Legacy 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: