diff --git a/src/content/docs/en/reference/error-reference.mdx b/src/content/docs/en/reference/error-reference.mdx index fb69f817f3699..0e7129c7b7fbd 100644 --- a/src/content/docs/en/reference/error-reference.mdx +++ b/src/content/docs/en/reference/error-reference.mdx @@ -120,7 +120,11 @@ The following reference is a complete list of the errors you may encounter while - [**ContentCollectionTypeMismatchError**](/en/reference/errors/content-collection-type-mismatch-error/)
Collection contains entries of a different type. - [**DataCollectionEntryParseError**](/en/reference/errors/data-collection-entry-parse-error/)
Data collection entry failed to parse. - [**DuplicateContentEntrySlugError**](/en/reference/errors/duplicate-content-entry-slug-error/)
Duplicate content entry slug. +- [**UnsupportedConfigTransformError**](/en/reference/errors/unsupported-config-transform-error/)
Unsupported transform in content config. + +## Action Errors + - [**ActionsWithoutServerOutputError**](/en/reference/errors/actions-without-server-output-error/)
Actions must be used with server output. - [**ActionsUsedWithForGetError**](/en/reference/errors/actions-used-with-for-get-error/)
An invalid Action query string was passed by a form. - [**ActionQueryStringInvalidError**](/en/reference/errors/action-query-string-invalid-error/)
An invalid Action query string was passed by a form. -- [**UnsupportedConfigTransformError**](/en/reference/errors/unsupported-config-transform-error/)
Unsupported transform in content config. +- [**ActionCalledFromServerError**](/en/reference/errors/action-called-from-server-error/)
Action unexpected called from the server. diff --git a/src/content/docs/en/reference/errors/action-called-from-server-error.mdx b/src/content/docs/en/reference/errors/action-called-from-server-error.mdx new file mode 100644 index 0000000000000..35ac227c97f68 --- /dev/null +++ b/src/content/docs/en/reference/errors/action-called-from-server-error.mdx @@ -0,0 +1,22 @@ +--- +# 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: Action unexpected called from the server. +i18nReady: true +githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts +--- +import DontEditWarning from '~/components/DontEditWarning.astro' + + + + +> **ActionCalledFromServerError**: Action called from a server page or endpoint without using `Astro.callAction()`. + +## What went wrong? +Action called from a server page or endpoint without using `Astro.callAction()`. + + +