karatelabs/karate
Documented errors, page 7 of 8. Back to karatelabs/karate
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| 'super' keyword is only valid inside a class | exception | error | javascript, super, syntax-error |
| waitForResultCount timeout | exception | error | webdriver, timeout, wait, element-count |
| assert failed: | exception | error | karate, assert, assertion-failed, test |
| cannot replace root path $ | exception | error | java, karate, json-path, unsupported |
| chrome process died while waiting for page targets | console | error | chrome, process-crash, cdp, startup |
| Failed to fetch content from URL | exception | error | network, http, url |
| unexpected 'configure' key | exception | error | configuration, strict-validation, typo, karate-configuration |
| waitForEnabled timeout | exception | error | webdriver, timeout, wait, element-state |
| channel() can only be called within a scenario | exception | error | javascript, lifecycle, channels |
| groupBy callback is not a function | exception | error | javascript, groupby, typeerror, callback, not-a-function |
| inputFile: file not found | exception | error | driver, file-upload, path-resolution |
| RegExp.prototype.toString called on incompatible receiver | exception | error | javascript, regexp, type-error |
| ToIndex: value must be non-negative | exception | error | javascript, bigint, range-error, toindex |
| Failed to copy ext assets for | console | warning | reporting, filesystem, assets, classpath |
| Failed to create session directory: " + directory | exception | error | filesystem, io, session, directory |
| missing argument for files() | exception | error | http, file-upload, missing-argument, dsl |
| watch mode enabled but no watchable files found - features… | console | warning | watch-mode, classpath, jar, config |
| doc() read arg should not be null | exception | error | doc, null-argument, templates, javascript |
| doc() requires 'read' key with template path | exception | error | doc, missing-argument, templates, javascript |
| failed to read item at index | exception | error | io, file-read, runtime-exception, temp-file |
| forEach() needs two arguments: collection and function | exception | error | argument-count, callback, javascript, karate |
| Missing 'client_id' in OAuth config | validation | error | oauth2, configuration, missing-config, authentication |
| embed(): each part needs a 'role' | exception | error | javascript, validation, embed, reporting, karate |
| HTTP endpoint not available | exception | error | http, timeout, polling, availability |
| Invalid callbackPort type: " + portValue.getClass() | validation | error | oauth2, configuration, type-mismatch |
| RegExp.escape called on non-string | exception | error | javascript, regexp, typeerror, escape |
| screenshotOnFailure: capture failed, continuing | console | warning | karate, screenshot, driver |
| dialog dismiss failed | exception | error | cdp, dialog, race-condition |
| duplicate binding name | exception | error | javascript, parser, catch-clause, destructuring |
| expected status: , actual: | exception | error | karate, http, assertion, status-code |
| Exponent must be non-negative | exception | error | javascript, bigint, exponentiation |
| Failed to load config from | exception | error | config, file-io, runtime-exception |
| no frame at index: after retries | exception | error | cdp, iframe, frame-switch, retry |
| Cannot convert object to primitive value | exception | error | javascript, to-primitive, coercion |
| driver not configured - use: * configure driver = | exception | error | driver, browser, configuration |
| fromJson() requires a JSON string argument | validation | error | markup, javascript-binding, json, missing-argument |
| Invalid \u escape in JSON string | exception | error | json, unicode-escape, parser |
| multipart file requires '=' assignment: | exception | error | karate, multipart, syntax, http |
| repeat() needs two arguments: count and function | exception | error | karate, javascript, argument-count, lists |
| karate.call() requires at least one argument (feature path) | exception | error | javascript, api-misuse, missing-argument |
| optional chain cannot be the operand of postfix ++/-- | exception | error | javascript, parser, syntax-error, optional-chaining |
| render() read arg should not be null | exception | error | javascript, null-value, karate-js |
| timeout waiting for element | exception | error | driver, wait, timeout, element-not-found |
| Cannot convert to a BigInt | exception | error | javascript, bigint, syntax-error, string-parsing |
| expect().to.deep - no such api | exception | error | expect, unsupported-key, deep-equality |
| failed to generate self-signed certificate | exception | error | ssl, tls, self-signed, server |
| Function.prototype.bind called on non-callable | exception | error | javascript, typeerror, function-prototype, bind |
| param() needs two arguments | exception | error | http, query-params, missing-argument, dsl |
| yield is only valid inside a generator function | exception | error | javascript, generator, yield, syntax-error |
| configure() needs two arguments: key and value | exception | error | javascript, arguments, configure, karate |
| Error releasing driver to provider | console | warning | karate, driver, driver-pool, teardown |
| input string must not be empty or blank | validation | error | java, karate, blank-input |
| invalid escape sequence in template literal: \0 | exception | error | javascript, lexer, template-literal, escape-sequence |
| port must be between 1 and 65535 | validation | error | port, validation, devtools |
| process died while waiting for HTTP | console | warning | process, http, health-check, lifecycle |
| Cannot mix BigInt and other types, use explicit conversions… | exception | error | javascript, bigint, type-error |
| Failed to backup existing dir | console | warning | io, filesystem, output |
| Request interception not supported on WebDriver backend | exception | error | unsupported-operation, interception, webdriver, cdp |
| Set-like object's size is not a number | exception | error | javascript, set, set-like |
| Cannot convert non-finite number to BigInt | exception | error | javascript, bigint, range-error |
| configure 'logging' expects a map, got | exception | error | configuration, logging, type-mismatch, karate-configuration |
| Function.prototype.call called on non-callable | exception | error | javascript, function, type-error, callable |
| missing argument for paramJson() | validation | error | http, arguments, api-misuse, json |
| no page at index | exception | error | driver, page-switch, index-out-of-bounds, tab |
| optional chain cannot be the operand of prefix ++/-- | exception | error | javascript, parser, syntax-error, optional-chaining |
| Set.prototype method called with non-object | exception | error | javascript, set, type-error |
| Failed to create JUnit XML output directory | console | warning | junit-xml, filesystem, directory-creation, permissions |
| get() needs at least one argument | exception | error | javascript, json-path, argument-validation |
| missing exponent digits | exception | error | javascript, lexer, numeric-literal |
| Reflect.ownKeys called on non-object | exception | error | javascript, reflect, type-check |
| Symbol.toPrimitive method is not callable | exception | error | javascript, symbol, to-primitive |
| timeout waiting for text | exception | error | driver, wait, timeout, text-assertion |
| embed(): part ' ' needs 'data', 'path', or 'url | exception | error | javascript, validation, embed, reporting, karate |
| Expected ',' or ']' in array | exception | error | json, syntax-error, missing-comma |
| invalid : is not a valid assignment target | exception | error | javascript, parser, assignment-target, syntax-error |
| Unterminated JSON string | exception | error | json, syntax-error, unterminated-string |
| AggregateError requires an iterable of errors | exception | error | javascript, aggregate-error, iterable, type-error |
| Expected ':' after object key | exception | error | json, parser, syntax-error |
| Map.prototype.getOrInsertComputed: callback is not a… | exception | error | javascript, map, callback, upsert |
| no element found matching | exception | error | driver, ui, selector |
| no step parsed | exception | error | gherkin, parsing, empty-input |
| prettyXml() argument must be XML node or string | exception | error | karate, javascript, type-mismatch, xml |
| render() needs at least one argument | exception | error | javascript, argument-validation, karate-js |
| set() needs at least two arguments: name and value | exception | error | javascript, variables, argument-validation |
| Object.defineProperties called on non-object | exception | error | javascript, defineproperties, typeerror, argument |
| Port : not available within timeout | exception | error | tcp, timeout, connection, polling |
| sysenv() needs the environment-variable name | exception | error | javascript, environment-variables, argument-validation |
| waitForUrl timeout: expected URL containing | exception | error | webdriver, timeout, navigation, url |
| async drain timed out | exception | error | async, timeout, javascript-engine |
| Class not found | exception | error | runner, listeners, classpath, reflection |
| {diagnostic: frame switch failed with child-frame url list} | exception | error | driver, iframe, frame-switch, cdp, diagnostics |
| image.write: needs (name|path, bytes) | exception | error | karate, image-comparison, missing-argument |
| Invalid hex digit ' ' in \u escape | exception | error | json, unicode-escape, hex |
| key cannot be null or blank | validation | error | gatling, karate, constructor, null, argument |
| failed to read next line | exception | error | io, file-read, iterator, temp-file |
| toAbsolutePath() needs a path argument | exception | error | javascript, argument-validation, paths |
| Array.prototype.* called on null or undefined | exception | error | javascript, array, null, type-error |
| inputFile: element did not resolve to a DOM node | exception | error | driver, file-upload, element-not-found, cdp |
| multipart field requires '=' assignment: | exception | error | karate, multipart, syntax, http |
| Getter must be a function | exception | error | javascript, descriptor, accessor, typeerror |