{"record":{"id":"a26ed49d49e05441","repo":"gatsbyjs/gatsby","slug":"traced-svg-placeholder-is-no-longer-supported-f","errorCode":null,"errorMessage":"\"TRACED_SVG\" placeholder is no longer supported, falling back to \"BLURRED\". See https://gatsby.dev/tracesvg-removal/","messagePattern":"\"TRACED_SVG\" placeholder is no longer supported, falling back to \"BLURRED\"\\. See https://gatsby\\.dev/tracesvg-removal/","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts","lineNumber":75,"sourceCode":"    const cache = getCache()\n    tmpDir = await mkdtemp(path.join(cache.directory, `placeholder-`))\n  }\n\n  const httpHeaders = getRequestHeadersForUrl(url, store)\n\n  const filePath = await fetchRemoteFile({\n    url,\n    cacheKey: contentDigest,\n    directory: tmpDir,\n    httpHeaders,\n  })\n\n  if (type === PlaceholderType.TRACED_SVG) {\n    if (!didShowTraceSVGRemovalWarning) {\n      // we should not hit this code path, field resolver should fallback earlier, this is just in-case.\n      // also this falls back to BLURRED because the shape is compatible. DOMINANT_COLOR is not compatible\n      // and fallback to DOMINANT_COLOR need to happen very early on and not when already generating value\n      console.warn(\n        `\"TRACED_SVG\" placeholder is no longer supported, falling back to \"BLURRED\". See https://gatsby.dev/tracesvg-removal/`\n      )\n      didShowTraceSVGRemovalWarning = true\n    }\n    type = PlaceholderType.BLURRED\n  }\n\n  switch (type) {\n    case PlaceholderType.BLURRED: {\n      let buffer: Buffer\n\n      try {\n        const fileStream = createReadStream(filePath)\n        const pipeline = sharp()\n        fileStream.pipe(pipeline)\n        buffer = await pipeline\n          .resize(\n            PLACEHOLDER_BASE64_WIDTH,","sourceCodeStart":57,"sourceCodeEnd":93,"githubUrl":"https://github.com/gatsbyjs/gatsby/blob/e85d62f1779e353eaac1753211629a26d123e26c/packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts#L57-L93","documentation":"Image CDN placeholder-handler notice: a TRACED_SVG placeholder request reached the handler (the field-resolver fallback missed it); it falls back to BLURRED because its data shape is compatible, unlike DOMINANT_COLOR. Printed once per process.","triggerScenarios":"Thrown at packages/gatsby-plugin-utils/src/polyfill-remote-file/placeholder-handler.ts:75 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Switch the placeholder argument to \"blurred\" or \"dominantColor\""],"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"}