# Failed to generate content types.

> **GenerateContentTypesError**: `astro sync` command failed to generate content collection types: ERROR\_MESSAGE

## What went wrong?

[Section titled “What went wrong?”](#what-went-wrong)

`astro sync` command failed to generate content collection types.

**See Also:**

* [Content collections documentation](/en/guides/content-collections/)