{"record":{"id":"8c364057dc50fcc2","repo":"gatsbyjs/gatsby","slug":"error-8c3640","errorCode":null,"errorMessage":"${error}","messagePattern":"\\$\\{error\\}","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-source-wordpress/src/steps/source-nodes/fetch-nodes/fetch-referenced-media-items.js","lineNumber":104,"sourceCode":"\n        previouslyRetriedPromises[retryKey] = timesRetried + 1\n\n        pushPromiseOntoRetryQueue({\n          node,\n          helpers,\n          createContentDigest,\n          actions,\n          queue,\n          retryKey,\n          retryPromise,\n        })\n      } else {\n        helpers.reporter.info(\n          `\\n\\nalready re-queued ${retryKey} 5 times :( sorry.\\nTry lowering process.env.GATSBY_CONCURRENT_DOWNLOAD.\\nIt's currently set to ${process.env.GATSBY_CONCURRENT_DOWNLOAD}\\n\\n`\n        )\n        // we already tried this earlier in the queue\n        // no choice but to give up :(\n        helpers.reporter.panic(error)\n      }\n    }\n  })\n}\n\nexport const addImageCDNFieldsToNode = (node, pluginOptions) => {\n  if (!node?.__typename?.includes(`MediaItem`)) {\n    return node\n  }\n\n  const placeholderUrl = getPlaceholderUrlFromMediaItemNode(node, pluginOptions)\n\n  const url = node.sourceUrl || node.mediaItemUrl\n\n  const filename =\n    node?.mediaDetails?.file?.split(`/`)?.pop() ||\n    path.basename(urlUtil.parse(url).pathname)\n","sourceCodeStart":86,"sourceCodeEnd":122,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-source-wordpress/src/steps/source-nodes/fetch-nodes/fetch-referenced-media-items.js#L86-L122","documentation":"After a media-item fetch promise was re-queued five times without succeeding, pushPromiseOntoRetryQueue gives up and panics with the accumulated error. The log suggests lowering GATSBY_CONCURRENT_DOWNLOAD; the root error is the embedded fetch failure for that media item.","triggerScenarios":"Thrown at packages/gatsby-source-wordpress/src/steps/source-nodes/fetch-nodes/fetch-referenced-media-items.js:104 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Lower GATSBY_CONCURRENT_DOWNLOAD (e.g. 20) to reduce server pressure","Fix the underlying fetch error for the listed media item","Increase server capacity/timeouts if the WP host is rate limiting"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e85d62f1779e353eaac1753211629a26d123e26c","analyzedAt":"2026-08-26T17:50:09.662Z","contentChangedAt":"2026-08-26T17:50:09.662Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}