Strange Netlify Build Error

Hi! I posted this issue about a year ago: https://answers.netlify.com/t/oom-issues-gatsby-sanity-deployment/108135

I’m having a similar problem again! I was never able to figure out the issue. Can anyone advise?

This is what my deployment is saying now:

11:08:33 PM: success Caching Webpack compilations - 0.000s
11:09:02 PM: error An error occurred during parallel query running.
11:09:02 PM: Go here for troubleshooting tips: Parallel Query Running · gatsbyjs/gatsby · Discussion #32389 · GitHub
11:09:02 PM:
11:09:02 PM:
11:09:02 PM: RangeError: Invalid string length
11:09:02 PM:
11:09:02 PM: - JSON.stringify
11:09:02 PM:
11:09:02 PM: - query-runner.ts:168 queryRunner
11:09:02 PM: [web]/[gatsby]/src/query/query-runner.ts:168:27
11:09:02 PM:
11:09:02 PM: - task_queues:96 processTicksAndRejections
11:09:02 PM: node:internal/process/task_queues:96:5
11:09:02 PM:
11:09:02 PM: - task_queues:65 runNextTicks
11:09:02 PM: node:internal/process/task_queues:65:3
11:09:02 PM:
11:09:02 PM: - timers:437 processImmediate
11:09:02 PM: node:internal/timers:437:9

link to log: Netlify
site name: ehcn.netlify.app

Another thing to note is that I actually did a hard reset of my repo to the last commit that successfully deployed and that did nothing to solve my problem. So I wonder if it’s a caching problem?

Hello, I’d like to say that once again this is my fault for having a recursive schema in sanity lol. If anyone is running into a similar error and is using sanity.io maybe check your schema.

Best,
Aarati