This Serverless Function has crashed

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?


Hi, @wdtamagi! Welcome to Vercel Community :wave:

I know it’s been a couple of days since you posted this, I was wondering if you managed to find a solution at all? :eyes:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.