When using a dynamic api (cookies, headers,..) inside a server action then later call this function inside ANOTHER server action building the app fails without telling you why! #74531
Labels
bug
Issue was opened via the bug report template.
Documentation
Related to Next.js' official documentation.
dynamicIO
Related to dynamicIO.
Instrumentation
Related to Next.js Instrumentation.
Linting
Related to `next lint` or ESLint with Next.js.
Module Resolution
Module resolution (CJS / ESM, module resolving).
Output (export/standalone)
Related to the the output option in `next.config.js`.
Runtime
Related to Node.js or Edge Runtime with Next.js.
Upstream
Related to using Next.js with a third-party dependency. (e.g., React, UI/icon libraries, etc.).
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/nameless-cookies-go8s7s
To Reproduce
Which area(s) are affected? (Select all that apply)
Developer Experience, Documentation, dynamicIO, Instrumentation, Linting, Module Resolution, Output (export/standalone), Runtime, Upstream
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local), next start (local), Vercel (Deployed), Other (Deployed)
Additional context
No response
The text was updated successfully, but these errors were encountered: