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ā.