Back to Withastro

Action unexpected called from the server.

src/content/docs/en/reference/errors/action-called-from-server-error.mdx

latest457 B
Original Source

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

<DontEditWarning />

ActionCalledFromServerError: Action called from a server page or endpoint without using Astro.callAction(). This wrapper must be used to call actions from server code.

What went wrong?

Action called from a server page or endpoint without using Astro.callAction().

See Also: