larksuite/cli
Documented errors, page 7 of 9. Back to larksuite/cli
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| L1: name must not be empty | validation | error | |
| has an empty relative path | validation | error | go, skillref, input-validation, path-format |
| number constraints must be finite | validation | error | go, schema, validation, floating-point |
| nullable requires a nil-capable Go type | validation | error | go, struct-tags, type-system, schema-validation |
| remove_attachment | validation | error | email, draft-patch, invalid-target |
| unsupported file provider mode | validation | error | secrets, file-provider, config, validation |
| file provider JSON parse error | exception | error | secrets, file-provider, json, parse-error |
| read content-safety config | exception | error | config, filesystem, content-safety |
| skills update timed out after | exception | error | timeout, skills, npm, pnpm, network |
| unknown total size in content-range | exception | error | http, content-range, download |
| file path cannot be empty after @ | validation | error | cli, file-input, argument-parsing |
| file provider JSON Pointer | exception | error | secrets, file-provider, json-pointer, type-mismatch |
| Hooks.NewArgs is required | validation | error | go, shortcut-compiler, commandbridge, missing-field, hooks |
| recipient not found in | validation | error | email, not-found, draft-patch |
| field ( ): optional Data field must use omitempty | validation | error | go, struct-tags, schema, optional-field |
| must be a number | validation | error | validation, cli, json, type-mismatch, number |
| skill reference is empty | validation | error | go, skillref, input-validation, empty-input |
| suite description prefix is missing | exception | error | |
| Args field (-- ): alias -- duplicates | validation | error | go, flags, aliases, collision |
| Input.Relations[ ] duplicates an earlier relation | validation | error | go, shortcut-definition, validation, duplicate |
| minLength exceeds maxLength | validation | error | go, struct-tags, schema-validation, bounds |
| invalid max_risk : must be one of read|write|high-risk-write | validation | error | validation, enum, policy |
| remove_header requires name | validation | error | mail, validation, patch-op, headers |
| minimum exceeds maximum | validation | error | go, schema, validation, integer-constraints |
| deprecated primary flag must be hidden | validation | error | cli, typed-input, deprecation, hidden, validation |
| event catalog failed to compile | panic | error | |
| L1: outputSchema.type = | validation | error | schema, validation, lint |
| official skills index returned HTTP | http | error | http, network, selfupdate, status-code |
| Pass only one of --sheet-id or --sheet-name | validation | error | python, cli, argument-validation, mutually-exclusive |
| set_header requires name | validation | error | mail, validation, patch-op, headers |
| suite route for is missing or duplicated | exception | error | |
| unknown secret source | validation | error | config, secret, validation, unsupported-source |
| exec provider response missing 'values' | exception | error | |
| exec provider value for id | exception | error | |
| expected list, got %T | validation | error | type-conversion, list, input-binding |
| invalid value for -- , allowed | validation | error | |
| : hookName must match ^[a-z0-9][a-z0-9-]*$ | validation | error | plugin, hook, naming, validation |
| create lock dir | exception | error | filesystem, permissions, config |
| json pointer : key not found | validation | error | json, rfc6901, missing-key |
| plugin | panic | error | |
| skill is not a complete v0.2 archive entry | validation | error | validation, json, skills-index, integrity |
| cannot be represented as | validation | error | type-conversion, integer-overflow, input-binding |
| bus did not become ready within | exception | error | |
| cannot read file | exception | error | fileio, file-not-found, file-input |
| description is declared by both doc and… | validation | error | cli, documentation, conflict, validation |
| invalid : host must be 127.0.0.1 | validation | error | proxy, url, config, validation |
| field ( ): description is required via doc | validation | error | go, struct-tags, documentation, schema-compile, input-shape |
| unsupported body kind | validation | error | validation, draft-patch, email |
| : target does not exist in the composed skill tree | validation | error | |
| compile rule pattern | validation | error | config, regex, content-safety |
| Input.Relations[ ] repeats param | validation | error | go, shortcut-definition, validation, duplicate |
| pnpm install timed out after | exception | error | pnpm, timeout, selfupdate, network |
| contains unknown field | validation | error | validation, cli, json, unknown-field, typo |
| : is not a valid skill name | validation | error | go, naming, validation, skill-tree |
| %sarray has items, minimum is | validation | error | sheets, schema-validation, arrays |
| unsafe output path | exception | error | filesystem, security, path-validation |
| : target | validation | error | |
| Args field (-- ): -- conflicts with flag | validation | error | |
| exec provider exited with error | exception | error | |
| expected object, got | validation | error | json, unmarshal, schema, type-mismatch |
| invalid escape: ~ must be followed by 0 or 1 | validation | error | json, rfc6901, escaping |
| invalid : explicit port is required | validation | error | proxy, url, config, validation |
| L1: _meta.envelope_version = | validation | error | schema, validation, lint, versioning |
| -- must be a boolean, got | validation | error | |
| .Requirement is invalid | validation | error | go, validation, shortcut-compiler, authorization-scopes |
| %sarray has items, maximum is | validation | error | sheets, schema-validation, arrays |
| file provider path is empty | exception | error | secrets, file-provider, config, validation |
| declares aliases for unregistered flag | validation | error | |
| tar | error_code | error | archive, tar, plugin-install |
| invalid : no certificates parsed from PEM | validation | error | tls, certificate, parsing |
| Args field (-- ) conflicts with host flag | validation | error | |
| remove_inline | validation | error | email, draft-patch, invalid-target |
| has an unsupported number value | validation | error | validation, cli, enum, number |
| busdiscover: read events dir | exception | error | go, localbus, filesystem, permissions, readdir |
| sheets | panic | error | |
| unsupported charset | validation | error | |
| got both and "range" — keep "range" and drop | validation | error | sheets, validation, naming-convention |
| unlock file | exception | warning | file-locking, io, windows |
| L1: array property items has invalid type | validation | error | json-schema, lint, array, type |
| SecretRef.id must be non-empty | validation | error | config, json, validation, secrets |
| add_inline requires cid | validation | error | validation, mail, draft, inline-image, cid, missing-field |
| domain name must be non-empty and trimmed | validation | error | go, validation, domain-name |
| EmbeddedSkills(nil): spec must not be nil | validation | error | go, plugin-builder, nil-argument |
| parse range end | validation | error | http, content-range, download, parsing |
| minLength exceeds maxLength | validation | error | go, schema, validation, string-constraints |
| references hidden param -- ; use a public canonical param | validation | error | go, authorization, scopes, hidden-param |
| invalid plugin name : must match ^[a-z0-9][a-z0-9-]*$ | validation | error | plugin, naming, validation |
| set_subject: value must not contain CR or LF | validation | error | email, header-injection, validation |
| binary verification timed out after | exception | error | timeout, selfupdate, verification, binary |
| header is empty | validation | error | precondition, email, draft-patch |
| alias[ ] name is invalid | validation | error | cli, alias, naming, authoring-time |
| dry-run request | validation | error | go, dry-run, validation |
| empty pattern | validation | error | go, glob, config-validation, empty-value |
| invalid identity : must be user|bot | validation | error | plugin, identity, validation, config |
| recipient field must be one of to/cc/bcc | validation | error | email, draft-patch, validation |
| secret provider is configured as null | exception | error | config, secrets, providers |
| alias -- has invalid Mode | validation | error | cli, flags, alias, validation |
ErrMalformedConfig invalid config format | validation | critical | go, config, json, malformed-config |
| invalid escape: ~%c must be ~0 or ~1 | validation | error | json, rfc6901, escaping |
| invalid : query is not allowed | validation | error | proxy, url, config, validation |