Edge Runtime Preview Issue - 500 Internal Server Error

Hi Prismic Support Team,

I hope you're doing well.

We're encountering an issue in our Prismic project where the preview button returns a 500 Internal Server Error instead of functioning as expected. We've thoroughly checked our project settings, and everything seems to be configured properly based on the documentation.

For reference, I’ve attached a screenshot of our settings configuration, and you can also view the issue in this video link:

Recording of issue


To note, we're using Next.js (app router) on the Edge Runtime through Cloudflare Pages. I also saw the comment from October 2022 in this community post stating that the Edge Runtime for Prismic previews wasn't supported at that time. Could you please confirm if this is still the case?

Your help with this matter would be highly appreciated.

Thank you!

Best regards,
Varsha Rana

1 Like