跳到內容

Content entry data does not match schema.

本頁內容尚未翻譯。

Example error message:
blogpost frontmatter does not match collection schema.
“title” is required.
“date” must be a valid date.

A content entry does not match its collection schema. Make sure that all required fields are present, and that all fields are of the correct type. You can check against the collection schema in your src/content.config.* file. See the Content collections documentation for more information.

Contribute

What’s on your mind?

Create GitHub Issue

Quickest way to alert our team of a problem.

Community