{"record":{"id":"eb3b6615b349e853","repo":"gatsbyjs/gatsby","slug":"there-were-maxfilesizebytesexceeded-files-with","errorCode":null,"errorMessage":"There were ${maxFileSizeBytesExceeded} files with file sizes that are above the maxFileSizeBytes config option and consequently were not fetched. Visit https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/debugging-and-troubleshooting.md#media-file-download-skipped for more info.","messagePattern":"There were (.+?) files with file sizes that are above the maxFileSizeBytes config option and consequently were not fetched\\. Visit https://github\\.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/debugging-and-troubleshooting\\.md#media-file-download-skipped for more info\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-source-wordpress/src/steps/log-post-build-warnings.ts","lineNumber":22,"sourceCode":"\nexport const logPostBuildWarnings: Step = async (): Promise<void> => {\n  const {\n    postBuildWarningCounts: { maxFileSizeBytesExceeded, mimeTypeExcluded },\n    gatsbyApi: {\n      helpers: { reporter },\n    },\n  } = getStore().getState()\n\n  const helpUrl = `https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/debugging-and-troubleshooting.md#media-file-download-skipped`\n\n  const helpText = `Visit ${helpUrl} for more info.`\n\n  if (maxFileSizeBytesExceeded > 0) {\n    const message = formatLogMessage(\n      `There were ${maxFileSizeBytesExceeded} files with file sizes that are above the maxFileSizeBytes config option and consequently were not fetched. ${helpText}`\n    )\n\n    reporter.warn(message)\n  }\n\n  if (mimeTypeExcluded > 0) {\n    const message = formatLogMessage(\n      `There were ${mimeTypeExcluded} files with mime types that were included in the excludeByMimeTypes config option and consequently were not fetched. ${helpText}`\n    )\n\n    reporter.warn(message)\n  }\n}\n","sourceCodeStart":4,"sourceCodeEnd":33,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-source-wordpress/src/steps/log-post-build-warnings.ts#L4-L33","documentation":"In logPostBuildWarnings (post-build step), this fires when one or more media files exceeded the maxFileSizeBytes plugin option during sourcing and were intentionally skipped from download. It reports the count and points to the troubleshooting docs; the build completes, but those media items lack downloaded file data.","triggerScenarios":"Thrown at packages/gatsby-source-wordpress/src/steps/log-post-build-warnings.ts:22 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Raise the maxFileSizeBytes option in gatsby-config.js if the skipped files are needed.","Or leave it as is if skipping huge files is intentional to speed up builds.","See the linked debugging-and-troubleshooting doc for identifying which files were skipped."],"exampleFix":null,"handlingStrategy":"validation","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-14T05:17:10.506Z"}