Nuxt Preview Mode Not Working

We are noticing that our Preview mode is not consistently working. There are times when preview mode will route to the 404 page. Preview mode is only enabled on our staging site and local development. As for as primsic nuxt configs goes; they are set to the following:

  prismic: {
    endpoint: 'https://***.cdn.prismic.io/api/v2',
    linkResolver: '@/plugins/link-resolver',
    htmlSerializer: '@/plugins/html-serializer',
    components: false,
    modern: process.env.NODE_ENV === 'production'
  },

Looking for insight on why the redirect to 404 is happening after we see the prismic preview mode loader.

Loader Screenshot

loading_msg

Note on this issue. Do see the ping request is returning false as reload value. Unable to reload the 404 and render draft content.

Hi, @mason.mullendore,

Thanks for reaching out.
I will try to investigate this issue with you. To do so, can you share with me a screen recording or a screenshot of the errors you get in your browser console, as well as some clarification about what you have described as

ping request is returning false as reload value

Looking forward to your reply,
Fares

Can you also try to clear the cookies to see if it solves the issue?

Hi Fares,

Thanks for response. Believe this is interface with our cache layer and the issue has been resolved.

Thanks for letting us know.