Server Error: The Structured Text document contains a 'block' node, but cannot find a record with ID 27337566 inside data.blocks!

Hello!
I have this query that in the API Explorer runs without problems:

{
  post(filter: {slug: {eq: "always-bet-on-html"}}) {
    id
    title
    slug
    body(markdown: true)
    body2 {
      value
      blocks {
        ...imageBlockFragment
        ...videoBlockFragment
      }
    }
    seo: _seoMetaTags {
      attributes
      content
      tag
    }
    publishedAt: _firstPublishedAt
    category
    cover {
      responsiveImage(imgixParams: {fm: jpg}) {
        ...responsiveImageFragment
      }
    }
  }
}

fragment responsiveImageFragment on ResponsiveImage {
  srcSet
  webpSrcSet
  sizes
  src
  width
  height
  aspectRatio
  alt
  title
  bgColor
  base64
}

fragment imageBlockFragment on ImageBlockRecord {
  __typename
  id
  image {
    responsiveImage(imgixParams: {fm: jpg}) {
      ...responsiveImageFragment
    }
  }
}

fragment videoBlockFragment on VideoBlockRecord {
  __typename
  video {
    video {
      streamingUrl
    }
    url
  }
}

However when running my project page with the same query I get in the console:

RenderError: The Structured Text document contains a 'block' node, but cannot find a record with ID 27337566 inside data.blocks!
    at new RenderError (/Users/marcello/projects/marcellop/node_modules/datocms-structured-text-utils/dist/lib/render.js:32:28)
    at /Users/marcello/projects/marcellop/node_modules/react-datocms/dist/StructuredText/index.js:94:23

Any idea please ?
My DatoCMS project name is “marcellop”.

I found why, when saving the StructuredText in the content editor, it seems then that it’s not saved any node with “type”: “ImageBlockRecord” …

There’s a bug in the editor?

It seems that fragments can’t be used like I did…

Hey @marcellop, I tried running the query on your project but the structured text field is null:

Screenshot 2021-04-06 at 09.32.42

Did you change some data in the meantime?