{"id":11,"hash":"1ddca84de8a2f1fa2ce60782c452eeff2b7b0c5f088dfe5efdee0aec29203cc2","pattern":"Error: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`","full_message":"Error: Dynamic server usage: Page couldn't be rendered statically because it used `cookies`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error","ecosystem":"npm","package_name":"next","package_version":null,"solution":"The page reads `cookies()`/`headers()` but Next tried to pre-render it.\n1. Add `export const dynamic = 'force-dynamic'` at the top of the page/route file.\n2. Or move the cookies() call into a Server Action or Route Handler.\n3. For partial prerendering wrap the dynamic part in a `<Suspense>` boundary (experimental PPR).","confidence":0.95,"source":"official-docs","source_url":"https://nextjs.org/docs/messages/dynamic-server-error","votes":32,"created_at":"2026-04-19T03:24:36.995318+00:00","updated_at":"2026-04-19T03:25:24.784082+00:00"}