gatsbyjs/gatsby · error
85928
85928
Error message
An error occurred during parallel query running.\nGo here for troubleshooting tips: https://gatsby.dev/pqr-feedback
What it means
Generic catch-all (id 85928, empty context) from handleRunQueriesInWorkersQueueError: any error thrown while the worker pool ran page queries lands here with the real error attached. Inspect the attached error and worker output rather than the static text.
Solutions
- Follow the troubleshooting tips at https://gatsby.dev/pqr-feedback
- Inspect the attached error and worker logs for the failing page query
- Fix the offending query or component named there
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at packages/gatsby/src/utils/worker/pool.ts:40 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of gatsbyjs/gatsby@e85d62f177 (2026-08-26).
Data as JSON: /api/errors/a4aabcc2d9608ce2.
Report an issue: GitHub.
Appendix: source
Thrown at packages/gatsby/src/utils/worker/pool.ts:40
numWorkers,
env: {
GATSBY_NODE_GLOBALS: JSON.stringify(global.__GATSBY ?? {}),
GATSBY_WORKER_POOL_WORKER: `true`,
GATSBY_SKIP_WRITING_SCHEMA_TO_FILE: `true`,
},
})
initJobsMessagingInMainProcess(worker)
initReporterMessagingInMainProcess(worker)
return worker
}
const queriesChunkSize =
Number(process.env.GATSBY_PARALLEL_QUERY_CHUNK_SIZE) || 50
function handleRunQueriesInWorkersQueueError(e: Error): never {
reporter.panic({
id: `85928`,
context: {},
error: e,
})
}
export async function runQueriesInWorkersQueue(
pool: GatsbyWorkerPool,
queryIds: IGroupedQueryIds,
opts?: {
chunkSize?: number
parentSpan?: Span
}
): Promise<void> {
const activity = reporter.createProgress(
`run queries in workers`,
queryIds.staticQueryIds.length + queryIds.pageQueryIds.length,
0,View on GitHub (pinned to e85d62f177)