{
  "id": "P066",
  "slug": "next-js-cookies-headers-async-request-apis-synchronous-usage-runtime-error-next-15-official-docs",
  "status": "search-observed",
  "product": "Next.js",
  "family": "Framework semantic default",
  "canonical_url": "https://gitdocs.org/fix/next-js-cookies-headers-async-request-apis-synchronous-usage-runtime-error-next-15-official-docs",
  "query_alias_url": "https://gitdocs.org/q/next-js-cookies-headers-async-request-apis-synchronous-usage-runtime-error-next-15-official-docs",
  "markdown_url": "https://gitdocs.org/fix/next-js-cookies-headers-async-request-apis-synchronous-usage-runtime-error-next-15-official-docs.md",
  "json_url": "https://gitdocs.org/api/fixes/next-js-cookies-headers-async-request-apis-synchronous-usage-runtime-error-next-15-official-docs.json",
  "canonical_query": "Next.js cookies headers async request APIs synchronous usage runtime error Next 15 official docs",
  "observed_codex_queries": [
    "Next.js cookies headers async request APIs synchronous usage runtime error Next 15 official docs",
    "site:nextjs.org/docs/messages/sync-dynamic-apis cookies headers async",
    "https://nextjs.org/docs/messages/sync-dynamic-apis",
    "'Async Request APIs' in https://nextjs.org/docs/app/guides/upgrading/version-15"
  ],
  "organic_dependency_search_count": 4,
  "affected_versions": "",
  "exact_errors": [],
  "diagnosis": "Local code often type-checks under both old and new framework semantics; the failure depends on the installed framework version and current runtime defaults.",
  "before": "",
  "after": "",
  "verification": "Verifier checks behavior across multiple requests/build modes, not merely compilation. Check request count, response freshness, and render behavior over multiple calls.",
  "unsafe_fixes": [
    "Changing local code without checking the current external contract.",
    "Retrying the same install, build, or API call with no version/source change.",
    "Applying a broad unsafe bypass when a narrow compatibility fix is available."
  ],
  "last_verified_at": "2026-06-25",
  "neutral_validation": {
    "organic_search_observed": true,
    "organic_strict_pass": true,
    "no_web_counterfactual_run": false,
    "no_web_strict_pass": null,
    "search_necessity_under_fixture": null,
    "no_web_oracle_note": "Observed query evidence is separated from necessity proof; no-web and stale-contract counterfactuals should be tracked separately."
  },
  "source_trail": [
    {
      "url": "https://nextjs.org/blog/next-16",
      "label": "Next.js 16"
    },
    {
      "url": "https://nextjs.org/docs/messages/sync-dynamic-apis",
      "label": "Official reference opened by Codex"
    }
  ],
  "source_github_links": []
}
