Hi folks, I’m experiencing a server error when I try to use the visual editing feature with Sanity CMS on a Next app.
It’s weird because locally, even building and then starting the app works. But in Vercel’s environment, it does not, and it happens only when the preview/draft mode is enabled.
I tried to check the deployment log but it didn’t help too much.
One thing that maybe can contribute is that my project is using the app and the page routing from Next.
Does anyone know a better way to investigate what is happening?