ErrLookup › mikefarah/yq

mikefarah/yq

yq is a portable command-line YAML, JSON, XML, CSV, TOML, HCL and properties processor · Go · 156 source files

Analyzed at 8b5af0694b on 2026-09-05. 144 documented errors.

Code / MessageTypeSeverityTags
CollectObject: mismatching node sizes; are you creating a…
validation error yq, collect-object, map-construction, mismatched-sizes
panic(err) on parseInt64 failure while sorting !!int values
panic critical panic, sorting, yq, int64-overflow
expected to find one 'value' entry but found
validation error yq, entries, validation
panic(err) on copier.Copy failure of traverse preferences
panic error panic, yq, internal, preferences-copy
yaml node has no content
exception error yaml, decoder, empty-input
unknown operator
exception error go, yq, expression, operator
unrecognised type
exception error go, yq, json, deserialization
panic(err) on ParseFloat failure while sorting numeric…
panic critical panic, sorting, yq, parsefloat
no support for output format
exception error encoder, output-format, build-tags
( ) cannot be subtracted from
validation error yq, type-mismatch, subtract-operator, arrays
could not load
console error yq, load, build-tags, decoder
orderedMap: invalid yaml node
exception error go, yq, yaml, deserialization
aborted
exception error go, yq, expression, control-flow
strings cannot be subtracted
validation error yq, strings, subtract-operator, type-mismatch
no support for input format
exception error go, yq, decoder, build-tags
cannot substitute with
validation error yq, environment, type-mismatch
aliases are not supported in TOML
validation error toml, encoder, yaml-aliases, unsupported-node-kind
HCL encoder does not support aliases
exception error hcl, encoding, aliases, yaml-anchors, yq
invalid XML: Encountered chardata
exception error
could not find for format_time
validation error yq, datetime, missing-argument
cannot delete nodes from parent of tag
validation error
cannot check contained in
validation error yq, contains-operator, type-mismatch
: expected path array, but got instead
validation error yq, setpath, delpaths, path-expression, type-mismatch
reduce must be given a block, got
validation error yq, reduce, syntax-error, missing-block
bad expression, could not find matching `)`
validation error expression, bracket, syntax
pkg
panic error
env operations have been disabled
console error yq, security, environment
unsupported array item kind
validation error toml, encoder, unsupported-node-kind
is not within [ , ]
validation error
cannot encode TOML entry with empty path
exception error toml, encoder, path, empty-key
reduce must be given a variables assignment, got
validation error yq, reduce, syntax-error, expression-structure
can only use merge anchors with maps (!!map) or sequences…
validation error
could not parse datetime of
validation error
system operator: args must be a non-null scalar or sequence…
validation error yq, system-operator, argument-validation, yaml
( ) cannot be added to a ( )
validation error
'i' is not a valid option for match. To ignore case, use an…
validation error
DELPATHS: expected a sequence of sequences, but found
validation error yq, delpaths, type-mismatch, argument-validation
index [ ] out of range, array size is
exception error yaml, array, indexing, out-of-range
alias cycle detected
exception error yaml, alias, anchors, recursion
' ' expects 1 arg but received none
validation error expression, parser, syntax
configure YAML encoding
exception error yaml, encoding, configuration
not yet supported for comparison
validation error yq, comparison-operator, unsupported-type, scalar-tag
only keyvalue pairs are supported in inlinetables, got
exception error
unsupported node kind
exception error hcl, encoding, unsupported-kind, yq
RHS of 'as' operator must be a variable name e.g. $foo
exception error yaml, variables, expression-syntax
unknown format ' ' please use [ ]
validation error
sequence contains elements of
validation error yq, pivot, heterogeneous-sequence, type-mismatch
cannot change case with
validation error
maps not yet supported for subtraction
validation error yq, arithmetic, unsupported-operation, maps
node at path [ ] is not an array (it's a )
validation error yq, reverse, type-mismatch, node-kind
unrecognised match params
validation error
not yet supported for contains
validation error yq, contains-operator, unsupported-type
expected to find one 'key' entry but found
validation error
failed to parse INI content
exception error
cannot get keys of , keys only works for maps and arrays
validation error yq, keys, type-mismatch
arrays not yet supported for comparison
validation error yq, comparison-operator, unsupported-type, array
DELPATHS: expected entry
validation error yq, delpaths, type-mismatch, path-arrays
system command ' ' failed
exception error yq, system-operator, exec, process-exit, path
unsupported inline table value kind
validation error toml, encoder, yaml-aliases, inline-table
can only pivot elements of !!seq or !!map types, received
validation error yq, pivot, scalar-elements, unsupported-type
cannot match with , can only match strings. Hint: Most…
validation error
failed to load
console error
from entries only runs against arrays
validation error yq, entries, type-mismatch
cannot be added to
validation error yq, type-mismatch, subtract-operator, null
system operations are disabled, use…
validation error yq, system-operator, security, configuration
cannot pick indices from type
validation error yq, pick, type-mismatch, node-kind
all only supports arrays, was
validation error
cannot encode as URI, can only operate on strings. Please…
exception error shell, encoder, string, type-mismatch
expected to find 1 number, got
validation error
must provide a date time format string and an expression…
validation error datetime, expression, usage
maps not yet supported for comparison
validation error yq, comparison-operator, unsupported-type, map
unsupported type
exception error
: expected either a !!str or !!int in the path, found…
validation error yq, setpath, delpaths, path-expression, type-mismatch
cannot index array with
validation error yq, pick, array-index, parse-error
cannot be divided by
validation error
unable to parse duration
validation error
cannot modulo by 0
validation error
cannot trim , can only operate on strings.
validation error
bad path expression, got close collect brackets without…
exception error expression, parser, brackets
from_unix only works on numbers, found
validation error
: could not parse as an int
validation error yq, setpath, delpaths, path-expression, parsing
value for env variable
validation error yq, environment, missing-variable
hcl parse error
exception error
no hcl file parsed
exception error
unknown style
validation error yq, style, invalid-argument, operator
csv encoding only works for arrays of scalars…
exception error
SETPATH must be given a block (;), got
validation error yq, setpath, syntax, expression-parsing
node at path [ ] is not an array or map (it's a )
validation error
cannot modulo by
validation error
cannot multiply with
validation error yq, multiplication, type-mismatch, yaml
file operations have been disabled
console error
result of repeating string
validation error yq, string-repetition, memory-limit, resource-limit
unsupported node kind for TOML
exception error toml, encoder, node-kind, alias
unsupported node
exception error properties, encoder, node-kind
has no keys
validation error
failed copying from to
exception error filesystem, in-place, symlink
failed to read INI content
exception error
bad file
exception error parsing, file-input, decoding
lua encoder NYI
exception error lua, encoder, tag, not-implemented
cannot join with , can only join arrays of scalars
validation error yq, join, type-mismatch, arrays