{"record":{"id":"3db31a77ab8c2b67","repo":"gatsbyjs/gatsby","slug":"there-were-mimetypeexcluded-files-with-mime-typ","errorCode":null,"errorMessage":"There were ${mimeTypeExcluded} files with mime types that were included in the excludeByMimeTypes 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 mime types that were included in the excludeByMimeTypes 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":30,"sourceCode":"\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":12,"sourceCodeEnd":33,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-source-wordpress/src/steps/log-post-build-warnings.ts#L12-L33","documentation":"In logPostBuildWarnings, this fires when files were excluded from fetching because their mime types matched the excludeByMimeTypes plugin option. It reports the excluded count post-build; the skip is by configuration, not an error, so builds succeed while those media files have no local file nodes.","triggerScenarios":"Thrown at packages/gatsby-source-wordpress/src/steps/log-post-build-warnings.ts:30 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove or adjust the excludeByMimeTypes list in plugin options if those files should be fetched.","Keep the option if exclusion is intentional; the warning is informational.","Use the linked troubleshooting doc to audit which mime types are being 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-14T00:17:10.932Z"}