Not able to preview pages suddenly

Hi have been using prismic for a long time. suddenly, the preview feature stopped working for us and is giving 403 forbidden error for all environments (test and production). how can we troubleshoot this ?

Hello Kapil,

Welcome to the Prismic Community Forum, and thanks for posting this question.

Do you have a custom 404 page in your project? For previews to work, you must include the Preview script on your website's every page, including your 404 pages.

This is most likely because our preview system uses cookies to build previews on top of your website application in the browser, so maybe you have cookies turned off in the browser? In which browser are you trying?

We have a nice troubleshooting guide for previews. It will be helpful: Troubleshooting: Previews | Prismic Help Center.

Let me know if it still doesn't work, and I'd be happy to work with you.

Thanks,

Priyanka

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