# Legacy configuration detected.

> **ConfigLegacyKey**: Legacy configuration detected: `LEGACY_CONFIG_KEY`.

## What went wrong?

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

Astro detected a legacy configuration option in your configuration file.

**See Also:**

* [Configuration reference](/en/reference/configuration-reference/)