When working with Sitecore Experience Editor in Next.js applications, you may encounter a “Body exceeded 2mb limit error” error that prevents content authors from accessing the editing interface. This article explains how to identify and resolve this common issue.
Understanding the Problem
The error typically manifests as:
Connection to your rendering host failed with a Body exceeded 2mb limit error.
Ensure the POST endpoint at URL https://web-performance-ch-node.azurewebsites.net/api/editing/render has been enabled