You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error using const {data,error} = await actions.exampleAction("");
Action called from a server page or endpoint without using Astro.callAction(). This wrapper must be used to call actions from server code.
See Docs Reference
See the Astro.callAction() reference for usage examples: https://docs.astro.build/en/reference/api-reference/#callaction
Error using const {data,error} = await Astro.callAction(actions.exampleAction,"");
Action unexpected called from the server.
Action called from a server page or endpoint without using Astro.callAction(). This wrapper must be used to call actions from server code.
See
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Actions not working when using getStaticPaths
Error using
const {data,error} = await actions.exampleAction("");
Error using
const {data,error} = await Astro.callAction(actions.exampleAction,"");
What's the expected result?
The result of the actions.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-cf4irmmq?file=README.md
Participation
The text was updated successfully, but these errors were encountered: