{"record":{"id":"38db6c0bea0705ae","repo":"gatsbyjs/gatsby","slug":"traced-svg-placeholder-argument-value-is-no-long-38db6c","errorCode":null,"errorMessage":"\"TRACED_SVG\" placeholder argument value is no longer supported (used in ContentfulAsset.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 ContentfulAsset\\.gatsbyImageData processing\\), falling back to \"DOMINANT_COLOR\"\\. See https://gatsby\\.dev/tracesvg-removal/","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-source-contentful/src/gatsby-plugin-image.js","lineNumber":292,"sourceCode":"\n  const defaults = {\n    tracedSVGOptions: {},\n    blurredOptions: {},\n    jpgOptions: {},\n    pngOptions: {},\n    webpOptions: {},\n    gifOptions: {},\n    avifOptions: {},\n    quality: 50,\n    placeholder: `dominantColor`,\n    ...userDefaults,\n  }\n\n  options = doMergeDefaults(options, defaults)\n\n  if (options.placeholder === `tracedSVG`) {\n    if (!didShowTraceSVGRemovalWarning) {\n      console.warn(\n        `\"TRACED_SVG\" placeholder argument value is no longer supported (used in ContentfulAsset.gatsbyImageData processing), falling back to \"DOMINANT_COLOR\". See https://gatsby.dev/tracesvg-removal/`\n      )\n      didShowTraceSVGRemovalWarning = true\n    }\n    options.placeholder = `dominantColor`\n  }\n\n  const { baseUrl, contentType, width, height } = getBasicImageProps(\n    image,\n    options\n  )\n  let [, format] = contentType.split(`/`)\n  if (format === `jpeg`) {\n    format = `jpg`\n  }\n\n  // Translate Contentful resize parameter to gatsby-plugin-image css object fit\n  const fitMap = new Map([","sourceCodeStart":274,"sourceCodeEnd":310,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-source-contentful/src/gatsby-plugin-image.js#L274-L310","documentation":"Error \"\"TRACED_SVG\" placeholder argument value is no longer supported (used in ContentfulAsset.gatsbyImageData processing), falling back to \"DOMINANT_COLOR\". See https://gatsby.dev/tracesvg-removal/\" thrown in gatsbyjs/gatsby.","triggerScenarios":"Thrown at packages/gatsby-source-contentful/src/gatsby-plugin-image.js:292 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Change the placeholder option to DOMINANT_COLOR, BLURRED, or NONE.","Remove the placeholder option entirely to use the dominantColor default.","Update any shared image component defaults that still pass tracedSVG.","See https://gatsby.dev/tracesvg-removal/ for migration guidance."],"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"}