{"record":{"id":"a5b84447c2cc3c92","repo":"gatsbyjs/gatsby","slug":"traced-svg-placeholder-argument-value-is-no-long-a5b844","errorCode":null,"errorMessage":"\"TRACED_SVG\" placeholder argument value is no longer supported (used in ImageSharp.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 ImageSharp\\.gatsbyImageData processing\\), falling back to \"DOMINANT_COLOR\"\\. See https://gatsby\\.dev/tracesvg-removal/","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-transformer-sharp/src/customize-schema.js","lineNumber":534,"sourceCode":"        type: TransformOptionsType,\n        description: `Options to pass to sharp to control cropping and other image manipulations.`,\n      },\n      backgroundColor: {\n        type: GraphQLString,\n        description: `Background color applied to the wrapper. Also passed to sharp to use as a background when \"letterboxing\" an image to another aspect ratio.`,\n      },\n    },\n    resolve: async (image, fieldArgs, context) => {\n      const file = getNodeAndSavePathDependency(image.parent, context.path)\n\n      if (!generateImageData) {\n        reporter.warn(`Please upgrade gatsby-plugin-sharp`)\n        return null\n      }\n\n      if (fieldArgs?.placeholder === `tracedSVG`) {\n        if (!didShowTraceSVGRemovalWarningGatsbyImageData) {\n          console.warn(\n            `\"TRACED_SVG\" placeholder argument value is no longer supported (used in ImageSharp.gatsbyImageData processing), falling back to \"DOMINANT_COLOR\". See https://gatsby.dev/tracesvg-removal/`\n          )\n          didShowTraceSVGRemovalWarningGatsbyImageData = true\n        }\n        fieldArgs.placeholder = `dominantColor`\n      }\n\n      const imageData = await generateImageData({\n        file,\n        args: fieldArgs,\n        pathPrefix,\n        reporter,\n        cache,\n      })\n\n      return imageData\n    },\n  }","sourceCodeStart":516,"sourceCodeEnd":552,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-transformer-sharp/src/customize-schema.js#L516-L552","documentation":"Error \"\"TRACED_SVG\" placeholder argument value is no longer supported (used in ImageSharp.gatsbyImageData processing), falling back to \"DOMINANT_COLOR\". See https://gatsby.dev/tracesvg-removal/\" thrown in gatsbyjs/gatsby.","triggerScenarios":"Thrown at packages/gatsby-transformer-sharp/src/customize-schema.js:534 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Remove TRACED_SVG from the placeholder argument of your gatsbyImageData(...) queries","Use the default BLURRED or DOMINANT_COLOR placeholder instead","See https://gatsby.dev/tracesvg-removal/ for the full migration notes"],"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"}