{"record":{"id":"e0e61b2d96d1fbfa","repo":"gatsbyjs/gatsby","slug":"traced-svg-placeholder-argument-value-is-no-long","errorCode":null,"errorMessage":"\"TRACED_SVG\" placeholder argument value is no longer supported (used in gatsbyImageData processing), falling back to \"DOMINANT_COLOR\". See https://gatsby.dev/tracesvg-removal/","messagePattern":"\"TRACED_SVG\" placeholder argument value is no longer supported \\(used in gatsbyImageData processing\\), falling back to \"DOMINANT_COLOR\"\\. See https://gatsby\\.dev/tracesvg-removal/","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-plugin-sharp/src/image-data.ts","lineNumber":151,"sourceCode":"    layout = `constrained`,\n    placeholder = `dominantColor`,\n    tracedSVGOptions = {},\n    transformOptions = {},\n    quality,\n    backgroundColor,\n  } = args\n\n  args.formats = args.formats || [`auto`, `webp`]\n\n  if (layout === `fullWidth`) {\n    args.breakpoints = args.breakpoints?.length\n      ? args.breakpoints\n      : DEFAULT_BREAKPOINTS\n  }\n\n  if (placeholder === `tracedSVG`) {\n    if (!didShowTraceSVGRemovalWarning) {\n      console.warn(\n        `\"TRACED_SVG\" placeholder argument value is no longer supported (used in gatsbyImageData processing), falling back to \"DOMINANT_COLOR\". See https://gatsby.dev/tracesvg-removal/`\n      )\n      didShowTraceSVGRemovalWarning = true\n    }\n    placeholder = `dominantColor`\n  }\n\n  const {\n    fit = `cover`,\n    cropFocus = sharp.strategy.attention,\n    duotone,\n  } = transformOptions\n\n  if (duotone && (!duotone.highlight || !duotone.shadow)) {\n    reporter.warn(\n      `Invalid duotone option specified for ${file.absolutePath}, ignoring. Please pass an object to duotone with the keys \"highlight\" and \"shadow\" set to the corresponding hex values you want to use.`\n    )\n  }","sourceCodeStart":133,"sourceCodeEnd":169,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-plugin-sharp/src/image-data.ts#L133-L169","documentation":"Error \"\"TRACED_SVG\" placeholder argument value is no longer supported (used in gatsbyImageData processing), falling back to \"DOMINANT_COLOR\". See https://gatsby.dev/tracesvg-removal/\" thrown in gatsbyjs/gatsby.","triggerScenarios":"Thrown at packages/gatsby-plugin-sharp/src/image-data.ts:151 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Switch placeholder to \"blurred\" or \"dominantColor\"","Remove tracedSVGOptions and other tracedSVG-specific settings"],"exampleFix":null,"handlingStrategy":"fallback","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"}