Previews started to fail randomly: `No type for path`

Versions

  • gatsby-source-prismic: 4.1.5
  • gatsby-plugin-prismic-previews: 4.1.3
  • node: 14
  • gatsby: 3.8.0

Reproduction

Two of our editors started having this issue today:

It was working fine earlier today.
We (the dev team) could reproduce in Chrome, and Firefox, with the exception that sometimes it works in Firefox.
We tried with published and unpublished posts.

Steps to reproduce

  1. Open a post and preview it in some production-like environment
  2. On the new tab, wait while the preview loads and see if it throws the error.

What is expected?

To be able to preview documents.

What is actually happening?

The preview throws the error when trying to fetch the preview data:

Error
The preview could not be loaded.
No type for path: ba358c801f072030db89e9867168b620

Any ideas where this is coming from? thanks in advance

[BTW, I also posted this in GH]

2 Likes

Hi @juan.manuel, I replied to your issue on GitHub here: Previews started to fail randomly: `No type for path` · Issue #481 · prismicio/prismic-gatsby · GitHub

Thanks!

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