karatelabs/karate
Documented errors, page 8 of 8. Back to karatelabs/karate
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| image.resolve: 'name' is required | exception | error | karate, image-comparison, missing-argument |
| Invalid config: expected JSON object | exception | error | json, config, validation |
| multipart files expects a list or map: | exception | error | karate, multipart, type-mismatch, http |
| expect().to - no such api: | exception | error | expect, unsupported-key, bdd-assertion |
| switch() requires a template argument | validation | error | server, javascript, missing-argument, templates |
| write() needs value and path arguments | exception | error | javascript, argument-validation, file-io |
| Cannot convert a BigInt to a number using unary + | exception | error | javascript, bigint, type-conversion |
| Cannot use 'in' operator to search for | exception | error | javascript, in-operator, type-error |
| embed() needs at least one argument: data | exception | error | javascript, arguments, reporting, embed, karate |
| expect() - no such api: | exception | error | expect, unsupported-key, property-access |
| filterKeys() needs at least two arguments | exception | error | argument-count, map, javascript, karate |
| invalid json: not a JSON object or array | exception | error | java, karate, json |
| onStdErr requires a function argument | exception | error | process, javascript, callback, argument-type |
| Cannot set property ' ' which has only a getter | exception | error | javascript, typeerror, getter-only, strict-mode |
| extract() needs three arguments: text, regex, group | exception | error | argument-count, regex, javascript, karate |
| invalid hex escape sequence in template literal | exception | error | javascript, lexer, template-literal, escape-sequence |
| invalid json: input is null or blank | exception | error | java, karate, json, blank-input |
| range() needs at least two arguments: start and end | exception | error | karate, javascript, argument-count, lists |
| timeout waiting for any element | exception | error | driver, wait, timeout, multiple-locators |
| lowerCase() needs one argument | exception | error | karate, javascript, argument-count, strings |
| more than one `default` clause in a switch | exception | error | javascript, parser, syntax-error, switch-statement |
| sysprop() needs the property name | exception | error | javascript, system-properties, argument-validation |
| context.setGlobal() requires a name argument | validation | error | server, javascript, missing-argument, state |
| Set-like object's size is negative | exception | error | javascript, set, range-error |
| expect().to.have - no such api: | exception | error | expect, unsupported-key, bdd-assertion |
| Invalid literal — expected 'false' | exception | error | json, parser, boolean-literal, syntax-error |
| Constructor WeakSet requires 'new' | exception | error | javascript, weakset, constructor, typeerror |
| ErrorRunEvent dispatch failed, continuing | console | warning | karate, events, listeners |
| Invalid literal — expected 'null' | exception | error | json, parser, null-literal, syntax-error |
| ' ' was defined without a setter | exception | error | javascript, private-fields, type-error, accessor |
| fork() needs at least one argument | exception | error | javascript, process-execution, missing-argument |
| inputFile failed: | locator: | files | exception | error | driver, file-upload, cdp, dom |
| jsonPath() needs two arguments: object and path | exception | error | argument-count, jsonpath, javascript, karate |
| object is null | validation | error | javascript, java-interop, null-pointer |
| Map.prototype.forEach: callback is not a function | exception | error | javascript, map, callback, typeerror |
| toFixed() digits argument must be between 0 and 100 | exception | error | javascript, number, range-error |
| waitForPort() needs host and port arguments | exception | error | argument-count, tcp, wait |
| HTTP not available after attempts | console | warning | http, health-check, timeout, network |
| prettyXml() needs one argument | exception | error | karate, javascript, argument-count, xml |
| missing argument | validation | error | javascript, arguments, api-misuse |
| ' ' is not a valid binding name in strict mode | exception | error | javascript, strict-mode, reserved-word, catch-clause |
| port : not available after attempts | console | warning | network, port, timeout, startup |
| Setter must be a function | exception | error | javascript, descriptor, accessor, typeerror |
| Cannot convert undefined to a BigInt | exception | error | javascript, bigint, type-error |
| mapWithKey() needs two arguments: list and key name | exception | error | karate, javascript, argument-count, lists |
| removeMember() not implemented for | console | warning | javascript, java-interop, no-op, warn |
| value must be >= 1 | exception | error | javascript, math, rangeerror, acosh |
| no results for xpath | exception | error | xml, xpath |
| Invalid number: missing exponent digits | exception | error | json, parser, syntax-error, number-literal |
| Invalid port in callbackPorts: " + parts[i] | validation | error | oauth2, configuration, validation |
| toPrecision() precision must be between 1 and 100 | exception | error | javascript, rangeerror, karate-js, number-formatting |
| filter() needs two arguments: list and function | exception | error | argument-count, callback, javascript, karate |
| pauseMillis cannot be negative | validation | error | java, record, validation, argument-range |
| redirect() requires a URL argument | exception | error | server, javascript, missing-argument, redirect |
| unicode escape sequence out of range in template literal | exception | error | javascript, lexer, template-literal, unicode, escape-sequence |
| expect().to.be.at - no such api | exception | error | expect, unsupported-key, bdd-assertion |
| extractAll() needs three arguments: text, regex, group | exception | error | argument-count, regex, javascript, karate |
| Method Set.prototype called on incompatible receiver | exception | error | javascript, set, this-binding |
| Pool size must be at least 1 | validation | error | driver, pool, configuration |
| Property descriptor must be an object | exception | error | javascript, object, property-descriptor, null |
| Cannot convert undefined or null to object | exception | error | javascript, typeerror, object-assign |
| multipart fields expects a map: | exception | error | karate, multipart, type-mismatch, http |
| Set-like object's 'has' is not callable | exception | error | javascript, set, set-like |
| Cannot delete property | exception | error | javascript, strict-mode, typeerror, delete-operator, karate-js |
| pretty() needs one argument | exception | error | karate, javascript, argument-count, debugging |
| setTimeout: callback is not a function | exception | error | javascript, type-mismatch, timers |
| Invalid literal — expected 'true' | exception | error | json, parser, boolean-literal, syntax-error |
| karate.callSingle() requires at least one argument (path) | exception | error | javascript, arguments, callsingle, karate |
| Set.prototype.forEach: callback is not a function | exception | error | javascript, set, callback |
| toExponential() fractionDigits must be between 0 and 100 | exception | error | javascript, rangeerror, karate-js, number-formatting |
| body() needs at least one argument | exception | error | http, request-body, argument-validation |
| invalid octal literal | exception | error | javascript, lexer, numeric-literal |
| NoSuchElementException (iterator exhausted) | exception | error | iterator, nosuch-element, collections, off-by-one |
| ReportAssets.named: name is null or empty | exception | error | reporting, validation, argument |
| keysOf() needs one argument | exception | error | karate, javascript, argument-count, maps |
| sizeOf() needs one argument | exception | error | karate, javascript, argument-count, collections |
| appendTo() needs at least two arguments: list and item(s) | exception | error | argument-count, javascript, karate, list |
| karate.callonce() requires at least one argument (feature… | exception | error | javascript, arguments, callonce, karate |
| listen interrupted | exception | warning | listen, interrupt, threading |
| at least one feature file is required | exception | error | mock-server, configuration, startup, empty-input |
| expect().to.be - no such api | exception | error | expect, unsupported-key, bdd-assertion |
| missing argument for paramValues() | validation | error | http, arguments, api-misuse |
| missing argument for pathMatches() | exception | error | http, routing, arguments, api-misuse |
| waitForHttp() needs a URL argument | exception | error | argument-count, wait, http |