{"record":{"id":"b6f5b77d3da57c00","repo":"gatsbyjs/gatsby","slug":"timeout","errorCode":"Timeout","errorMessage":"It took too long for ${url} to respond (longer than ${timeout / 1000} seconds).\n\nEither your URL is wrong, you need to increase server resources, or you need to decrease the amount of resources each request takes.\n\nYou can configure how much resources each request takes by lowering your `options.schema.perPage` value from the default of 100 nodes per request.\nAlternatively you can increase the request timeout by setting a value in milliseconds to `options.schema.timeout`, the current setting is ${timeout}.\n\n${genericError({ url })}","messagePattern":"It took too long for \\$\\{url\\} to respond \\(longer than \\$\\{timeout / 1000\\} seconds\\)\\.\n\nEither your URL is wrong, you need to increase server resources, or you need to decrease the amount of resources each request takes\\.\n\nYou can configure how much resources each request takes by lowering your `options\\.schema\\.perPage` value from the default of 100 nodes per request\\.\nAlternatively you can increase the request timeout by setting a value in milliseconds to `options\\.schema\\.timeout`, the current setting is \\$\\{timeout\\}\\.\n\n\\$\\{genericError\\(\\{ url \\}\\)\\}","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-source-wordpress/src/utils/fetch-graphql.ts","lineNumber":337,"sourceCode":"  query,\n  response,\n  errorContext,\n  isFirstRequest,\n  headers,\n}: IHandleFetchErrors): Promise<void> => {\n  await handleErrors({\n    panicOnError: false,\n    reporter,\n    variables,\n    pluginOptions,\n    query,\n    errorContext,\n    responseJSON: null,\n  })\n\n  if (e.message.includes(`timeout of ${timeout}ms exceeded`)) {\n    reporter.error(e.message)\n    reporter.panic({\n      id: CODES.Timeout,\n      context: {\n        sourceMessage: formatLogMessage(\n          `It took too long for ${url} to respond (longer than ${\n            timeout / 1000\n          } seconds).\\n\\nEither your URL is wrong, you need to increase server resources, or you need to decrease the amount of resources each request takes.\\n\\nYou can configure how much resources each request takes by lowering your \\`options.schema.perPage\\` value from the default of 100 nodes per request.\\nAlternatively you can increase the request timeout by setting a value in milliseconds to \\`options.schema.timeout\\`, the current setting is ${timeout}.\\n\\n${genericError(\n            { url }\n          )}`,\n          { useVerboseStyle: true }\n        ),\n      },\n    })\n    return\n  }\n\n  if (errorIs500ish(e) && !e.message.includes(`500`)) {\n    if (`message` in e) {\n      console.error(formatLogMessage(new Error(e.message).stack))","sourceCodeStart":319,"sourceCodeEnd":355,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/8b06340921ffdf23125a365b9c9923690cb62ce6/packages/gatsby-source-wordpress/src/utils/fetch-graphql.ts#L319-L355","documentation":"Error \"It took too long for ${url} to respond (longer than ${timeout / 1000} seconds).\n\nEither your URL is wrong, you need to increase server resources, or you need to decrease the amount of resources each request takes.\n\nYou can configure how much resources each request takes by lowering your `options.schema.perPage` value from the default of 100 nodes per request.\nAlternatively you can increase the request timeout by setting a value in milliseconds to `options.schema.timeout`, the current setting is ${timeout}.\n\n${genericError({ url })}\" thrown in gatsbyjs/gatsby.","triggerScenarios":"Thrown at packages/gatsby-source-wordpress/src/utils/fetch-graphql.ts:337 when the library encounters an invalid state.","commonSituations":"Occurs when a WPGraphQL request exceeds the configured schema timeout. Verify the URL, increase options.schema.timeout, or lower options.schema.perPage to reduce per-request work on the WordPress server.","solutions":["Increase options.schema.timeout (milliseconds) in gatsby-config.js.","Lower options.schema.perPage below 100 so each request is cheaper.","Verify the WordPress URL is correct and the server has enough resources to answer GraphQL requests."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8b06340921ffdf23125a365b9c9923690cb62ce6","analyzedAt":"2026-08-13T02:36:21.405Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}