Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.45 KB

action-query-string-invalid-error.mdx

File metadata and controls

29 lines (19 loc) · 1.45 KB
title An invalid Action query string was passed by a form.
i18nReady true
githubURL https://github.com/withastro/astro/blob/main/packages/runtime/src/internal/core/errors/errors-data.ts

import DontEditWarning from '~/components/DontEditWarning.astro'

:::caution[Deprecated] This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult unmaintained snapshots of older documentation for assistance. :::

ActionQueryStringInvalidError: The server received the query string ?_astroAction=ACTION_NAME, but could not find an action with that name. If you changed an action's name in development, remove this query param from your URL and refresh.

What went wrong?

The server received the query string ?_astroAction=name, but could not find an action with that name. Use the action function's .queryString property to retrieve the form action URL.

See Also: