ErrLookup › d2lang/d2

d2lang/d2

D2 is a modern diagram scripting language that turns text to diagrams. · Go · 220 source files

Analyzed at 0d69dca6f5 on 2026-08-31. 173 documented errors.

Code / MessageTypeSeverityTags
cannot rename edge to node
exception error d2, rename, edge
D2 instance has been disposed
exception error disposed-instance, lifecycle, worker, javascript
board cannot be modified through this file
validation error go, d2, boards, ast
moving across scopes isn't supported for edges
exception error d2oracle, edges, unsupported-operation, graph-edit
code snippet style "github" not found
exception error svg, rendering, syntax-highlighting
invalid gradient syntax
validation error color, gradient, parsing
edge not found
exception error graph, edge, lookup, d2
invalid table bounds
validation error fonts, parsing, bounds-check, corrupt-input
failed to recompile
exception error go, d2, compile, ast
decode icon URL for stable diagram hash: missing value
exception error json, hashing, d2target
decode icon URL for stable diagram hash: missing field
exception error json, hashing, schema-mismatch, d2target
response.error.message
exception error compile-error, wasm, d2-syntax, worker
failed to unmarshal Range from
validation error parsing, unmarshal, d2ast
decode icon URL for stable diagram hash: invalid offsets
exception error json, hashing, offsets
expected status 200 but got
exception error http, network, go, imgbundler
received empty arrow head marker for: %#v
panic error go, panic, svg, rendering, arrowhead, invariant-violation
board at path not found
exception error d2, board-path, api-misuse
invalid luminance category
panic error go, panic, svg, theming, sketch, luminance
text not pre-measured and no ruler provided
exception error go, d2, text-measurement
native Markdown SVG does not support HTML element <
validation error markdown, svg, wasm, html
decode diagram hash JSON: object key has type %T
exception error json, hashing, deserialization
to parent not found
exception error d2, move, graph-structure
Failed to initialize font faces
panic critical go, panic, init, wasm, fonts, embedded-assets
board AST not found
validation error go, d2, boards, ast
failed to wait for workers
exception error network, timeout, context, imgbundler
dimensions for object label %#v not found
exception error go, d2, text-measurement, layout
create OpenType face
panic error go, panic, fonts, textmeasure, opentype, invariant-violation
decoded gif image could not be cast as *image.Paletted
validation error gif, image, encoding, go-stdlib
Failed to decompress FuzzyBubbles-Regular
panic critical go, panic, init, wasm, brotli, embedded-assets
failed to install Playwright
exception error go, playwright, chromium, installation, network
no color stops in gradient
validation error go, parsing, gradient, css
Failed to decompress SourceCodePro-Italic
panic critical go, panic, init, wasm, brotli, embedded-assets
cannot generate unique key for edge chain
exception error d2oracle, edges, uniqueness, create
decode icon URL for stable diagram hash: got
exception error json, hashing, schema-mismatch, d2target
ruler does not have entire font family
exception error go, d2, fonts, text-measurement
not found
exception error d2oracle, lookup-failure, reparent, graph-edit
newSrc not found
exception error graph, edge, node-lookup, d2
board names cannot contain dots or quotes
validation error go, d2, boards, naming, validation
dimensions for class method %#v not found
exception error go, d2, text-measurement, class-shape
failed to decode response for
exception error http, compression, gzip, brotli, go
Failed to decompress SourceSansPro-Regular
panic critical wasm, fonts, brotli, init-panic
failed to launch Chromium
exception critical playwright, chromium, launch, environment, go
failed to read user input
exception error go, stdin, interactive-prompt, eof, ci
invalid color
exception error color, parsing, validation
object not found
exception error d2, delete, object-not-found
failed to parse value
exception error d2, parser, syntax
decoded image exceeds maximum size of
validation error security, decompression-bomb, limits, go
dimensions for edge label %#v not found
exception error go, d2, text-measurement, edges
not found
exception error d2, object-id, invalid-input
ruler does not have entire mono font family
exception error go, d2, fonts, text-measurement
failed to unmarshal input edges graph to graph
exception error plugin, deserialization, grpc
unknown object of type %T
exception error svg, rendering, type-error
expected "shadow" to be true or false
exception error d2, style-validation, boolean-parsing, strconv
failed to close Playwright browser
exception error playwright, browser, lifecycle, go
invalid sfnt table directory
validation error font, sfnt, corrupt-file
decode diagram hash JSON: unexpected delimiter
exception error json, hashing, structure
malformed style setting, expected >= 2 part path
exception error edge, arrowhead, malformed-key, d2
%v
exception error network, imgbundler, remote-fetch
decode diagram hash JSON: got closing token
exception error json, hashing, structure
Failed to decompress FuzzyBubbles-Bold
panic critical go, panic, init, wasm, brotli, embedded-assets
failed to fully %scompile (rendering partial svg)
exception error watch-mode, compile, partial-render
issue encountered with PNG exporter
exception error watch-mode, playwright, browser, png
decode icon URL for stable diagram hash
exception error json, hashing, icons
Failed to decompress paper texture
panic critical go, panic, init, wasm, brotli, embedded-assets
cannot connect to reserved keyword
exception error d2, reserved-keyword, validation
failed to unmarshal Range from
validation error parsing, unmarshal, d2ast
dimensions for class field %#v not found
exception error go, d2, text-measurement, class-shape
failed to unmarshal Position from
validation error parsing, unmarshal, d2ast
padding produces invalid SVG dimensions
validation error svg, rendering, validation
invalid kern table length
validation error font, kern, corrupt-file
invalid underscore
exception error d2, ir, edge-resolution, underscore
no layout resolver configured for layout engine
validation error d2, layout, configuration, compile-options
failed to stop Playwright
exception warning playwright, driver, cleanup, process, go
edgeKey must refer to an existing edge
exception error d2, d2oracle, edge, input-validation
error copying
exception error go, zip, pptx, io, template
error decoding PNG image
validation error go, png, image-decoding, validation, pptx
failed to start new Playwright page
exception error playwright, page, chromium, lifecycle, go
cannot parse hex color
exception error color, hex, parsing
dimensions for sql_table constraint %#v not found
exception error go, d2, text-measurement, sql-table
invalid font collection offset
validation error font, ttc, corrupt-file
unknown svg path command
validation error go, svg, path-parsing, unsupported-command
Failed to decompress SourceSansPro-Bold
panic critical wasm, fonts, brotli, init-panic
cannot rename to reserved keyword: %#v
validation error d2, rename, reserved-keywords, validation
code snippet formatter "svg" not found
exception error svg, rendering, syntax-highlighting
expected "stroke" to be a valid named color ("orange"), a…
validation error validation, d2graph, color, style
failed to parse map key
exception error d2, parser, map-key-syntax
expected "opacity" to be a number between 0.0 and 1.0
validation error validation, d2graph, style
malformed style setting, expected 2 part path
exception error edge, style, malformed-key, d2
no parameters in gradient
validation error color, gradient, parsing
theme not found
validation error d2, theme, configuration, invalid-input
cannot rename edge to edge chain
exception error d2, rename, edge
dimensions for sql_table name %#v not found
exception error go, d2, text-measurement, sql-table
dimensions for sql_table type %#v not found
exception error go, d2, text-measurement, sql-table
expected .ttf file but
validation error cli, fonts, validation
failed to parse key
exception error d2, parser, key-syntax
could not find center of
validation error d2, sequence-diagram, actor, layout
failed to start new Playwright browser context
exception error playwright, browser-context, chromium, go
Object " " has attribute "width" and/or "height" set, but…
validation error layout, feature-check, dimensions
multiboard output cannot be written to stdout
exception error go, cli, multiboard, stdout
plugin has routing feature but does not implement…
exception error go, plugin, interface, type-assertion