diff --git a/src/content/docs/en/reference/error-reference.mdx b/src/content/docs/en/reference/error-reference.mdx
index 5ffd99225bc80..f9421c4ce8990 100644
--- a/src/content/docs/en/reference/error-reference.mdx
+++ b/src/content/docs/en/reference/error-reference.mdx
@@ -69,6 +69,7 @@ The following reference is a complete list of the errors you may encounter while
- [**AstroGlobNoMatch**](/en/reference/errors/astro-glob-no-match/)
Astro.glob() did not match any files.
- [**RedirectWithNoLocation**](/en/reference/errors/redirect-with-no-location/)
A redirect must be given a location with the `Location` header.
- [**UnsupportedExternalRedirect**](/en/reference/errors/unsupported-external-redirect/)
Unsupported or malformed URL.
+- [**InvalidRedirectDestination**](/en/reference/errors/invalid-redirect-destination/)
Invalid redirect destination.
- [**InvalidDynamicRoute**](/en/reference/errors/invalid-dynamic-route/)
Invalid dynamic route.
- [**MissingSharp**](/en/reference/errors/missing-sharp/)
Could not find Sharp.
- [**UnknownViteError**](/en/reference/errors/unknown-vite-error/)
Unknown Vite Error.
diff --git a/src/content/docs/en/reference/errors/invalid-redirect-destination.mdx b/src/content/docs/en/reference/errors/invalid-redirect-destination.mdx
new file mode 100644
index 0000000000000..acd614e269c02
--- /dev/null
+++ b/src/content/docs/en/reference/errors/invalid-redirect-destination.mdx
@@ -0,0 +1,26 @@
+---
+# NOTE: This file is auto-generated from 'scripts/error-docgen.mjs'
+# Do not make edits to it directly, they will be overwritten.
+# Instead, change this file: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
+# Translators, please remove this note and the component.
+
+title: Invalid redirect destination.
+i18nReady: true
+githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts
+---
+import DontEditWarning from '~/components/DontEditWarning.astro'
+
+
+
+
+> **InvalidRedirectDestination**: The redirect from "FROM" to "TO" is invalid. The destination "TO" does not match any existing route in your project.
+
+## What went wrong?
+A dynamic redirect destination must match an existing route pattern.
+This error occurs when a redirect with dynamic parameters points to a destination
+that doesn't correspond to any page in your project.
+
+**See Also:**
+- [Configured redirects](/en/guides/routing/#configured-redirects)
+
+