Error reference
The following reference is a complete list of the errors you may encounter while using Astro. For additional assistance, including common pitfalls, please also see our Troubleshooting Guide.
Astro Errors
Section titled Astro Errors- StaticRedirectNotAvailable (E03001)
Astro.redirect
is not available in static mode. - ClientAddressNotAvailable (E03002)
Astro.clientAddress
is not available in current adapter. - StaticClientAddressNotAvailable (E03003)
Astro.clientAddress
is not available in static mode. - NoMatchingStaticPathFound (E03004)
No static path found for requested path. - OnlyResponseCanBeReturned (E03005)
Invalid type returned by Astro page. - MissingMediaQueryDirective (E03006)
Missing value forclient:media
directive. - NoMatchingRenderer (E03007)
No matching renderer found. - NoClientEntrypoint (E03008)
No client entrypoint specified in renderer. - NoClientOnlyHint (E03009)
Missing hint onclient:only
directive. - InvalidGetStaticPathParam (E03010)
Invalid value returned by agetStaticPaths
path. - InvalidGetStaticPathsReturn (E03011)
Invalid value returned by getStaticPaths. - GetStaticPathsRemovedRSSHelper (E03012)
getStaticPaths RSS helper is not available anymore. - GetStaticPathsExpectedParams (E03013)
Missing params property ongetStaticPaths
route. - GetStaticPathsInvalidRouteParam (E03014)
Invalid value forgetStaticPaths
route parameter. - GetStaticPathsRequired (E03015)
getStaticPaths()
function required for dynamic routes. - ReservedSlotName (E03016)
Invalid slot name. - NoAdapterInstalled (E03017)
Cannot use Server-side Rendering without an adapter. - NoMatchingImport (E03018)
No import found for component. - InvalidPrerenderExport (E03019)
Invalid prerender export. - FailedToLoadModuleSSR (E04001)
Could not import file. - InvalidGlob (E04002)
Invalid glob pattern.
CSS Errors
Section titled CSS Errors- CSSSyntaxError (E05001)
CSS Syntax Error.
Markdown Errors
Section titled Markdown Errors- MarkdownFrontmatterParseError (E06001)
Failed to parse Markdown frontmatter. - MarkdownContentSchemaValidationError (E06002)
Content collection frontmatter invalid. - InvalidFrontmatterInjectionError (E06003)
Invalid frontmatter injection. - MdxIntegrationMissingError (E06004)
MDX integration missing. - ConfigNotFound (E07001)
Specified configuration file not found. - ConfigLegacyKey (E07002)
Legacy configuration detected.
CLI Errors
Section titled CLI Errors- GenerateContentTypesError (E08001)
Failed to generate content types.