(Astro) Structured Text cannot find block of a certain ID

Now today I am having this problem

  └─ /blog/news/2/index.html (+66ms)
β–Ά src/pages/blog/[slug].astro
  β”œβ”€ /blog/root-cause-analysis-informs-capa/index.html (+469ms)
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

RenderError: The Structured Text document contains a 'block' node, but cannot find a record with ID elba-ez_TDuf7buW2mM24Q inside data.blocks!
    at new RenderError (/Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/datocms-structured-text-utils@2.0.4/node_modules/datocms-structured-text-utils/dist/cjs/render.js:29:28)
    at file:///Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/react-datocms@4.1.3_graphql@16.8.1_react@18.2.0/node_modules/react-datocms/dist/esm/StructuredText/index.js:85:27
    at Object.apply (/Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/datocms-structured-text-utils@2.0.4/node_modules/datocms-structured-text-utils/dist/cjs/render.js:40:16)
    at transformNode (/Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/datocms-structured-text-utils@2.0.4/node_modules/datocms-structured-text-utils/dist/cjs/render.js:56:34)
    at /Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/datocms-structured-text-utils@2.0.4/node_modules/datocms-structured-text-utils/dist/cjs/render.js:48:20
    at Array.map (<anonymous>)
    at transformNode (/Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/datocms-structured-text-utils@2.0.4/node_modules/datocms-structured-text-utils/dist/cjs/render.js:47:14)
    at Object.render (/Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/datocms-structured-text-utils@2.0.4/node_modules/datocms-structured-text-utils/dist/cjs/render.js:67:18)
    at render (/Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/datocms-structured-text-generic-html-renderer@2.0.4/node_modules/datocms-structured-text-generic-html-renderer/dist/cjs/index.js:93:44)
    at StructuredText (file:///Users/derrickthreatt/Documents/GitHub/retrograde-resonance/node_modules/.pnpm/react-datocms@4.1.3_graphql@16.8.1_react@18.2.0/node_modules/react-datocms/dist/esm/StructuredText/index.js:29:18) {
  node: { item: 'elba-ez_TDuf7buW2mM24Q', type: 'block' }
}

Node.js v18.15.0
 ELIFECYCLE  Command failed with exit code 1.

"build.command" failed                                        
────────────────────────────────────────────────────────────────

  Error message
  Command failed with exit code 1: pnpm run build --mode staging

  Error location
  In build.command from netlify.toml:
  pnpm run build --mode staging

  Resolved config
  build:
    command: pnpm run build --mode staging
    commandOrigin: config
    publish: /Users/derrickthreatt/Documents/GitHub/retrograde-resonance/dist
    publishOrigin: config
  headers:
    - for: /images/*
      values:
        Cache-Control: public, s-max-age=604800
    - for: /css/*.css
      values:
        Cache-Control: public, s-max-age=604800
    - for: /*.js
      values:
        Cache-Control: public, s-max-age=604800
  headersOrigin: config
  plugins:
    - inputs: {}
      origin: ui
      package: '@algolia/netlify-plugin-crawler'

@dthreatt Can you please provide the code you’re using here (like the [slug].astro file?)

Also, FYI, I split your message into its own thread because it doesn’t seem to be related to the Gatsby one.