mikefarah/yq
Documented errors, page 2 of 2. Back to mikefarah/yq
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| any only supports arrays, was | validation | error | |
| DELPATHS: expected single value but found | validation | error | yq, delpaths, cardinality, path-expression |
| HCL encoder expects a mapping at the root level, got | exception | error | hcl, encoding, root-node, mapping-required, yq |
| system operator: argument must be a non-null scalar; got… | validation | error | yq, system-operator, argument-validation, yaml |
| expected mapping node for block body | exception | error | hcl, encoding, blocks, mapping-required, yq |
| could not load tz [ ] | validation | error | |
| only arrays are supported for flatten | validation | error | yq, flatten, type-mismatch |
| cannot encode as base64, can only operate on strings | exception | error | |
| csv object encoding only works for arrays of flat objects… | exception | error | csv, encoding, objects, mixed-types, yq |
| bad expression, please check expression syntax | validation | error | expression, parser, syntax |
| system command ' ' failed: stderr | exception | error | yq, system-operator, exec, stderr, process-exit |
| system operator: command must be a string scalar | validation | error | yq, system-operator, type-error, yaml |
| csv encoding only works for arrays, got | exception | error | csv, encoding, root-node, yq |
| can't serialise value because it contains NUL char and you… | exception | error | output, nul-separated, serialization |
| SETPATH: expected single value on RHS but found | validation | error | yq, setpath, cardinality, path-expression |
| cannot repeat string by a negative number | validation | error | yq, string-repetition, negative-number, validation |
| cannot encode to XML - only maps can be encoded | validation | error | xml, encoder, unsupported-root-kind, type-mismatch |
| failed to encode HCL | exception | error | hcl, encoding, wrapped-error, yq |
| cannot convert node value | validation | error | yq, to-number, type-conversion, validation, yaml |
| filename expression returned nil | validation | error | |
| cannot index array with | exception | error | yaml, array, indexing, traversal |
| must use variable with a pipe, e.g. `exp as $x | ...` | exception | error | yaml, variables, expression-syntax |
| SETPATH: expected single path but found | validation | error | yq, setpath, path-expression, cardinality |
| ( ) cannot be divided by ( ) | validation | error | |
| cannot use as attribute, only scalars are supported | validation | error | xml, encoder, attributes, type-mismatch |
| system operator: command must be a non-empty string | validation | error | yq, system-operator, validation, empty-string |
| cannot convert node at path | validation | error | yq, to-number, type-error, yaml |
| only arrays are supported for group by | validation | error | yq, group-by, type-mismatch |
| --lua-global requires a top level MappingNode | validation | error | lua, encoder, globals, mapping |
| cannot split , can only split strings | validation | error | yq, split, type-mismatch, strings |
| bad expression, got close brackets without matching opening… | exception | error | expression, parser, brackets |
| bad expression - probably missing close bracket on | validation | error | expression, bracket, syntax |
| csv object encoding only works for arrays of flat objects… | exception | error | csv, encoding, objects, yq |
| TOML encoder expects a mapping at the root level | exception | error | toml, encoder, mapping, node-kind |
| bad expression, could not find matching `]` | validation | error | expression, bracket, syntax |
| INI encoder supports only MappingNode at the root level, got | exception | error | ini, encoder, yaml, node-kind |
| ' ' expects 2 args but there is | validation | error | expression, parser, syntax |
| unsupported character | exception | error | hcl, encoding, raw-expression, unsupported-character, yq |
| system operator: command expression returned no results | validation | error | yq, system-operator, empty-result, expression |
| ( ) cannot modulo by ( ) | validation | error | |
| cannot pivot node of type | validation | error | yq, pivot, type-mismatch, node-kind |
| bad expression, could not find matching `}` | validation | error | expression, bracket, syntax |
| with must be given a block (;), got | exception | error | yaml, with-operator, expression-syntax |
| only arrays are supported for unique | exception | error | yaml, arrays, unique, type-error |