{"record":{"id":"05dd2332a3a2fcbf","repo":"vercel/next.js","slug":"the-uncompressed-postponed-state-is-uncompressed","errorCode":null,"errorMessage":"The uncompressed postponed state is ${uncompressedPostponedStateByteLength} bytes, which exceeds the configured experimental.maxPostponedStateSize limit of ${maxPostponedStateSizeBytes} bytes. Next.js currently compresses the Resume Data Cache before persisting the postponed state, but this compression will be removed in a future release. Increase experimental.maxPostponedStateSize to ensure this route can still be resumed after that change.","messagePattern":"The uncompressed postponed state is (.+?) bytes, which exceeds the configured experimental\\.maxPostponedStateSize limit of (.+?) bytes\\. Next\\.js currently compresses the Resume Data Cache before persisting the postponed state, but this compression will be removed in a future release\\. Increase experimental\\.maxPostponedStateSize to ensure this route can still be resumed after that change\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/next/src/server/app-render/postponed-state.ts","lineNumber":98,"sourceCode":"  postponedString: string,\n  resumeDataCache: PrerenderResumeDataCache | RenderResumeDataCache,\n  isCacheComponentsEnabled: boolean,\n  maxPostponedStateSizeBytes: number | undefined,\n  disableResumeDataCacheCompression: boolean\n): Promise<string> {\n  const prefix = `${postponedString.length}:${postponedString}`\n  let serializedResumeDataCache = await stringifyResumeDataCache(\n    resumeDataCache,\n    isCacheComponentsEnabled\n  )\n\n  if (!disableResumeDataCacheCompression) {\n    if (maxPostponedStateSizeBytes !== undefined) {\n      const uncompressedPostponedStateByteLength =\n        Buffer.byteLength(prefix) + Buffer.byteLength(serializedResumeDataCache)\n\n      if (uncompressedPostponedStateByteLength > maxPostponedStateSizeBytes) {\n        console.warn(\n          `The uncompressed postponed state is ${uncompressedPostponedStateByteLength} bytes, which exceeds the configured experimental.maxPostponedStateSize limit of ${maxPostponedStateSizeBytes} bytes. Next.js currently compresses the Resume Data Cache before persisting the postponed state, but this compression will be removed in a future release. Increase experimental.maxPostponedStateSize to ensure this route can still be resumed after that change.`\n        )\n      }\n    }\n\n    serializedResumeDataCache = deflateResumeDataCache(\n      serializedResumeDataCache\n    )\n  }\n\n  return prefix + serializedResumeDataCache\n}\n\nexport async function getDynamicHTMLPostponedState(\n  postponed: ReactPostponed,\n  preludeState: DynamicHTMLPreludeState,\n  fallbackRouteParams: OpaqueFallbackRouteParams | null,\n  resumeDataCache: PrerenderResumeDataCache | RenderResumeDataCache,","sourceCodeStart":80,"sourceCodeEnd":116,"githubUrl":"https://github.com/vercel/next.js/blob/0eb377541648e63402a47b38fee00a8d0ce8f8f1/packages/next/src/server/app-render/postponed-state.ts#L80-L116","documentation":"Error \"The uncompressed postponed state is ${uncompressedPostponedStateByteLength} bytes, which exceeds the configured experimental.maxPostponedStateSize limit of ${maxPostponedStateSizeBytes} bytes. Next.js currently compresses the Resume Data Cache before persisting the postponed state, but this compression will be removed in a future release. Increase experimental.maxPostponedStateSize to ensure this route can still be resumed after that change.\" thrown in vercel/next.js.","triggerScenarios":"Thrown at packages/next/src/server/app-render/postponed-state.ts:98 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Increase `experimental.maxPostponedStateSize` in next.config, or reduce the size of dynamic state on this route."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0eb377541648e63402a47b38fee00a8d0ce8f8f1","analyzedAt":"2026-08-19T02:10:13.922Z","contentChangedAt":"2026-08-19T02:10:13.922Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}