Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.02 KB

File metadata and controls

24 lines (16 loc) · 1.02 KB
title Collection contains entries of a different type.
i18nReady true
githubURL https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts

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: