# Preview not working on netlify

**URL:** <https://community.prismic.io/t/preview-not-working-on-netlify/3652>\
**Category:** Developing with Prismic\
**Tags:** nextjs\
**Created:** [January 20, 2021, 1:55am UTC](https://community.prismic.io/t/preview-not-working-on-netlify/3652 "2021-01-20T01:55:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![fprovost](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@fprovost](https://community.prismic.io/u/fprovost)\
**Post date:** [January 21, 2021, 2:57am UTC](https://community.prismic.io/t/preview-not-working-on-netlify/3652/4 "2021-01-21T02:57:12Z")

</div>

Thanks for the answer.

Saddly it doesn't work. I put the script in `_document.tsx` and I saw it was there in the default in the default 404 page while inspecting it. It still built a custom page just to test and it didn't worked either. In both cases the preview plugin/tool is there but I still get a 404 page instead of the content I want to see (a new document)

---

_[View the full topic](https://community.prismic.io/t/preview-not-working-on-netlify/3652)._
