{"record":{"id":"fa0050f40e03947a","repo":"gatsbyjs/gatsby","slug":"missing-allowed-urls-in-your-netlify-configuration-fa0050","errorCode":null,"errorMessage":"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```","messagePattern":"Missing allowed URLs in your Netlify configuration\\. Add following entries to your existing `images\\.remote_images` configuration in netlify\\.toml:\n```toml\n(.+?)\n```","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-adapter-netlify/src/allowed-remote-urls.ts","lineNumber":46,"sourceCode":"      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":28,"sourceCodeEnd":55,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-adapter-netlify/src/allowed-remote-urls.ts#L28-L55","documentation":"Error \"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```\" thrown in gatsbyjs/gatsby.","triggerScenarios":"Thrown at packages/gatsby-adapter-netlify/src/allowed-remote-urls.ts:46 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Append the listed entries to the existing images.remote_images array in netlify.toml"],"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"}