Next.jsRunbook 0/2 done
sync-dynamic-apis
Next.js Error sync-dynamic-apis: params should be awaited
Warning✕ Not retryable · fix the payloadRuntime
TL;DR · 10-second read
In Next.js 15, params, searchParams, cookies() and headers() are async. Type params as a Promise and await it; run npx @next/codemod@canary next-async-request-api . to migrate.
Identify: does your log match?
What you see · exact log / response
Error: Route "/blog/[slug]" used `params.slug`. `params` should be awaited before using its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis
Fix
Being written
Copy-paste fixes for sync-dynamic-apis are in the enrichment queue
The summary above is verified. Paste your full trace into the decoder for a diagnosis now.
Open the decoder →Related errors
Last verified 2026-10-22 · Source: Next.js /errors directory (vercel/next.js) · Official docs ↗ · ~9,900 searches/mo