Hello on one of my server actions i get this error:
Error: Failed to find Server Action "null". This request might be from an older or newer deployment. Original error: Invariant: Missing 'next-action' header.
at ry (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:16:1666)
at /var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:15:7035
at AsyncLocalStorage.run (node:async_hooks:338:14)
at rm (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:15:6350)
at rq (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:18:1255)
at /var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:18:3935
at AsyncLocalStorage.run (node:async_hooks:338:14)
at Object.wrap (/var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:13:16239)
at /var/task/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:18:3825
at AsyncLocalStorage.run (node:async_hooks:338:14)
Happens only on prod tho but is very important server action for authenticating users and wondering what might be the issue and how to resolve it. I have it locally few times but after deleting .next folder everything start working but i don't have such access to prod env any suggestions