Prismic preview and toolbar not working

Describe your question/issue in detail

The URL query parameters that were previously sent in the preview URL are no longer present. This causes the cookie 'io.prismic.preview' to no longer be set at the preview destinations (e.g. at http://localhost:3000).

Impacted feature

Prismic preview and toolbar.

What steps have you taken to resolve this issue already?

Examined URL upon the preview page opening and found the query parameters that were previously present to no longer be present. I also made sure that the following script tag was included:

Errors

Preview not available and toolbar does not appear.

Your Role

Hosting provider

Package.json file

Steps to reproduce

  1. View draft document in Prismic.
  2. Click "Preview the page'.
  3. Select preview destination (e.g. localhost:3000).
  4. When page opens, the URL parameters that were there before are no longer there, and there is no preview toolbar and no preview. An examination of the cookies shows that the cookie 'io.prismic.preview' is not set.

Has the Prismic preview feature and toolbar been phased out?

Hi @klum,

The preview feature and toolbar are not being phased out, and should work as planned. We'll try and figure this out :slight_smile:

Have you given a look at this post: Troubleshooting: Content Previews? It covers common issues with Previews and you'd want to rule out everything on there first. Has the draft you're trying to preview been published before?

If nothing on there helps, could you record a Jam of this behavior? If you don't want to share it publicly, you can send the link to me in a private message.

Hi Ezekiel,

Thanks for the prompt reply and the troubleshooting page. The problem was indeed that third-party cookies wasn't enabled.

Ken

1 Like