{"record":{"id":"33de33065adcc867","repo":"gatsbyjs/gatsby","slug":"missing-allowed-urls-in-your-netlify-configuration","errorCode":null,"errorMessage":"Missing allowed URLs in your Netlify configuration. Add following to your netlify.toml:\n```toml\n[images]\nremote_images = [\n${entriesToAddToToml}]\n```","messagePattern":"Missing allowed URLs in your Netlify configuration\\. Add following to your netlify\\.toml:\n```toml\n\\[images\\]\nremote_images = \\[\n(.+?)\\]\n```","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-adapter-netlify/src/allowed-remote-urls.ts","lineNumber":42,"sourceCode":"      const isAlreadyAllowed = allowedUrlsInNetlifyTomlRegexes.some(\n        allowedRegex => allowedRegex.test(remoteFileAllowedUrl.urlPattern)\n      )\n\n      if (!isAlreadyAllowed) {\n        missingAllowedUrlsInNetlifyToml.push(remoteFileAllowedUrl.regexSource)\n      }\n    }\n\n    if (missingAllowedUrlsInNetlifyToml.length > 0) {\n      const entriesToAddToToml = `${missingAllowedUrlsInNetlifyToml\n        .map(\n          missingAllowedUrlInNetlifyToml =>\n            `  ${JSON.stringify(missingAllowedUrlInNetlifyToml)}`\n        )\n        .join(`,\\n`)},\\n`\n\n      if (typeof cfg.config.images?.remote_images === `undefined`) {\n        reporter.warn(\n          `Missing allowed URLs in your Netlify configuration. Add following to your netlify.toml:\\n\\`\\`\\`toml\\n[images]\\nremote_images = [\\n${entriesToAddToToml}]\\n\\`\\`\\``\n        )\n      } else {\n        reporter.warn(\n          `Missing allowed URLs in your Netlify configuration. Add following entries to your existing \\`images.remote_images\\` configuration in netlify.toml:\\n\\`\\`\\`toml\\n${entriesToAddToToml}\\`\\`\\``\n        )\n      }\n    }\n  } else {\n    reporter.verbose(`[gatsby-adapter-netlify] no netlify.toml found`)\n  }\n}\n","sourceCodeStart":24,"sourceCodeEnd":55,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-adapter-netlify/src/allowed-remote-urls.ts#L24-L55","documentation":"Configuration warning from the Netlify adapter: one or more remote image URL patterns used by gatsby-image are not covered by the allowed regexes in netlify.toml. It fires when the [images] remote_images entries are missing and lists the exact lines to add so Netlify's image CDN will transform those URLs.","triggerScenarios":"Thrown at packages/gatsby-adapter-netlify/src/allowed-remote-urls.ts:42 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Copy the printed remote_images TOML block into netlify.toml so Netlify Image CDN allows the source plugin's remote image URL patterns"],"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"}