hey @hazy sun what could cause this issue locally ? Console UnrecognizedActionError
Server Action "0rtytyty5565yryry56565rgrte6464ryy" was not found on the server.
Read more: https://nextjs.org/docs/messages/failed-to-find-server-action
1 messages · Page 1 of 1 (latest)
hey @hazy sun what could cause this issue locally ? Console UnrecognizedActionError
Server Action "0rtytyty5565yryry56565rgrte6464ryy" was not found on the server.
Read more: https://nextjs.org/docs/messages/failed-to-find-server-action
Hi @fiery spire. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
The error Console UnrecognizedActionError with a message like:
Server Action "0rtytyty5565yryry56565rgrte6464ryy" was not found on the server.
typically means that the client attempted to call a Server Action whose ID is no longer recognized by the server. This is often caused by a mismatch between the client and server code, usually after a new build or deployment. Some common causes for this issue locally include:
Rebuilding Without Refreshing the Client:
If you rebuild your Next.js app (e.g., run next build and next start) but keep your browser tab open without refreshing, the client may try to call a Server Action using an old ID that no longer exists in the new build. This is because Server Action IDs are regenerated on each build for security reasons, and the client-side JavaScript may be out of sync with the server-side code. This scenario is described in several issues, where users observe that after a rebuild, actions cannot be found until the page is refreshed Client cannot recover from version skew Error: Failed to find Server Action.
Deleting the Build Cache:
If you delete the .next directory (the build cache) and then rebuild, the server action IDs will change. If your client is still running code from the previous build, it will reference outdated action IDs Error: Failed to find Server Action.
Conditional or Dynamic Imports/Exports:
Issues with how server actions are imported or exported (such as using wildcard exports or re-exporting from barrel files) can sometimes cause actions to not be registered correctly, leading to this error Server actions regression in 14.2.8.
How to Fix Locally:
For more details, see the official Next.js documentation on this error:
[https://nextjs.org/docs/messages/failed-to-find-server-action](https://nextjs.org/docs/messages/failed-to-find-server-action)
@fiery spire Kapa.ai is still learning and improving, please let me know how I did by reacting below.
@hazy sun ok after testing this on firefox it works well but on chrome the issue is still persisting
Let me check the knowledge base for you again. Give me one moment! :books:
Based on the knowledge sources, there are several reports of issues where Server Actions or navigation behave differently between browsers, especially between Chrome and Firefox. For example:
What you can try:
If the issue persists only in Chrome and not in Firefox, it may be due to Chrome-specific caching or extension interference, as seen in the issues above. If none of these steps resolve the problem, it could be a Next.js bug that manifests only in Chrome, and you may want to follow or open an issue with a minimal reproduction for further investigation.