Skip to main content

REST integration — messages

Not yet checked on the product

This chapter was written from the product's source code and has not yet been checked by a person on a running Cogneris. If what you see on screen differs, the screen is right — please tell your Cogneris contact so the chapter can be corrected.

Every message the REST integration can show in the workflow editor, with its cause and the fix. Where a message carries a name or a number, it is shown here as ….

Content statusFrom source; not observed (workflow-fe f88c5c1, workflow-be 6703373, 2026-10-22)

Where they appear. Problems of the settings are listed above the tabs as you edit, whatever tab is open. Mapping issues appear in the form of the rule they belong to, and the mapping tab counts them in Issues to fix: …. The other messages appear next to the field or button concerned. The editor does not block saving while problems are listed; publishing is refused by the service for the same reasons (see Refused by the service).

Messages in the editor​

MessageWhereCauseWhat to do
Choose a connection.ProblemsNo Connection selectedSelect a connection in Request.
Could not load the connections.RequestThe list of connections did not loadReload the editor; if it persists, contact support.
Fill in the path.ProblemsPath is emptyType the path, starting with /.
The path must be relative to the connection: no scheme or host.ProblemsPath starts with a scheme such as https: or with //Keep only the path; the host belongs to the connection's Base URL.
The path parameter … has no rule.ProblemsThe path has a name in curly braces with no entry under Path parametersEdit the path again so the entry is created, then give it a source.
The path parameter … needs a source.ProblemsThe entry has no Source and no first transform that produces a valuePick a Source, or start its transforms with constant, concat or coalesce.
Every query parameter needs a name.ProblemsA query parameter has an empty NameName it, or Remove it.
The query parameter … needs a source or a fixed value.ProblemsNeither Source, a value-producing first transform, nor Fixed valueGive it one of them.
The query parameter … looks like a credential: it cannot be set in the phase and is not saved. Use a connection of type API key in the query.ProblemsThe name is one of the refused credential names (see Request)Remove it; create an API key connection with API key location Query string.
Every header needs a name.ProblemsA header has an empty Header nameName it, or Remove it.
The header … cannot be set in the phase: authentication and secrets belong to the connection.ProblemsThe name is Authorization, Proxy-Authorization, Cookie, X-API-Key, Api-Key or Idempotency-KeyRemove it; the connection supplies authentication, and the Idempotency-Key option sends that header.
The timeout must be between … and … seconds.ProblemsTimeout (seconds) outside 1–120Enter a whole number in range, not above the connection's timeout.
The timeout cannot be longer than the connection's (… seconds).ProblemsTimeout (seconds) is above the selected connection's timeoutLower it, or raise the connection's Timeout (seconds, 1 to 120).
Retries must be between … and ….ProblemsRetries outside 0–10Enter a whole number in range.
The wait between retries must be between … and … seconds.ProblemsWait between retries (seconds) outside 1–600Enter a whole number in range.
Enter at least one success status code.ProblemsSuccess status codes is empty or has no numberEnter at least one 2xx code, for example 200.
… is not a success status code: success codes must be between 200 and 299.ProblemsA success code outside 200–299Keep only 2xx codes; use Not-found status codes (4xx) in Result for a not-found status.
… is not a 4xx status code: not-found codes must be between 400 and 499.ProblemsA code outside 400–499 in Not-found status codes (4xx)Correct it, or empty the field.
Rule … needs a field in the response.ProblemsA rule of Rules on the response body has no Field in the responseFill it, or remove the rule.
Rule … needs a value for its operator.ProblemsThe operator compares with a value and Value is emptyFill Value, or choose exists or isempty.
At most … result rules are allowed.ProblemsMore than 20 rules on the response bodyRemove rules.
Check … needs a field in the request body.ProblemsA check before the call has no Field in the request bodyFill it, or remove the check.
Check … needs a value for its operator.ProblemsSame as for result rules, on a check before the callFill Value.
The result data of check … must be a JSON object.Problems, and under the checkResult data (JSON object, optional) is not valid JSON, or is not an objectWrite an object, or empty the field. Until fixed, the data is not saved.
At most … checks before the call are allowed.ProblemsMore than 20 checksRemove checks.
The document type must start with a lowercase letter and use only lowercase letters, digits and underscores (2 to 64 characters).ProblemsDocument type is empty or malformed while Publish the result is onUse a name such as customer_lookup, or turn publication off.
The display name can have at most … characters.ProblemsDisplay name (optional) longer than 120 charactersShorten it.
Choose at least one result to publish.ProblemsNo outcome checked under Publish when the result isCheck at least Success.
The proof title can have at most … characters.ProblemsTitle (optional) longer than 120 charactersShorten it.
The proof field "…" is not a valid path (letters, digits, hyphen and underscore, separated by dots) or its label is too long.ProblemsA line of Fields to print (optional) has a bad path or a label over 80 charactersUse path or path | label, for example vies.name | Name.
The proof can print at most … fields.ProblemsMore than 30 lines in Fields to print (optional)Remove lines.
The file name uses characters or placeholders that are not allowed.ProblemsFile name (optional) has characters other than letters, digits, ., -, _, an unknown placeholder, or more than 120 charactersUse only those characters and the placeholders listed under the field.
Unknown transform "…".Rule formThe configuration names a transform type that does not existRemove the transform.
The rule has no target path.Rule formTarget path is emptyType the target, or remove the rule.
Target "…" does not exist in the schema.Rule formThe target is not a field of the Request schemaCorrect the target, or add the field to the schema.
A source is required unless the first transform is constant, concat or coalesce.Rule formNo Source, and the first transform does not produce a valuePick a source, or start with one of those transforms.
date_format needs both the input and output formats.Rule formAn empty format in a date_formatFill both, or use iso.
lookup needs at least one entry in the table.Rule formThe lookup table is emptyAdd pair.
The lookup fallback is not valid.Rule formA stored fallback that is none of the four choicesChoose a fallback in When the value is not in the table.
concat needs at least one source path.Rule formSource paths (one per line) is empty in a concatAdd paths.
coalesce needs at least one source path.Rule formSame, in a coalesceAdd paths.
to_boolean needs at least one true value and one false value.Rule formA list of to_boolean is emptyFill both lists.
The decimal separator must be "." or ",".Rule formA stored number_format with another separatorChoose . or ,.
regex_extract needs a pattern of 1 to … characters.Rule formThe expression is empty or longer than 256 charactersWrite an expression up to 256 characters.
regex_extract: the group must be a whole number from 0 up to the number of groups in the pattern.Rule formCapture group (0 = whole match) is negative, not whole, or larger than the number of groupsUse 0 for the whole match, or the number of a group of the expression.
Required field "…" has no rule.Rule listA field the Request schema requires has no ruleMap it, or remove it from required in the schema.
Arrays can be nested up to … levels.Rule formItem rules nested more than 3 levels deepFlatten the structure.
Item rules only apply to array targets (ending in []).Rule formItem rules on a target that is not a listMake the target end in [], or remove the item rules.
Source "…" was not found in the sample.Rule form (warning)The source is not a path of the Input exampleCheck the spelling. If the example is just incomplete, the rule still works.
Source "…" is not valid: use $form.…, $process.…, $doc.….…, $doc.…[].… or $run.id, $run.workflowId, $run.tenantId.Rule formA source starts with $ but is not a well-formed reserved source: unknown root, missing key, $doc without type or field, unknown $run keyCorrect it, for example $form.nif.
Source "…" is not valid here: a response rule can only read what was sent, with $request.….Rule formA response rule reads $form, $process, $doc, $run or another $ rootRead the answer, or $request. + a field of what was sent.
Source "…" reads the run ($form, $process, $doc, $run) and can only be used in top-level rules, not in item rules.Rule formA reserved source inside item rulesMap it in a top-level rule instead.
Invalid JSON: …SchemasThe schema, the example to infer from or the Input example (JSON) is not valid JSONFix the JSON; the message gives the parser's explanation.
Not a valid schema: describe an object (type "object") or an array (type "array").SchemasValid JSON that does not describe an object or a listPaste a schema whose root is an object or an array.
Save the workflow before loading an example from a run.SchemasThe workflow was never savedSave it.
No recent run reached this phase yet.SchemasNo process completed the previous phase yetRun a process, or type an example.
Loading from a run is not available in this environment yet.SchemasThe service does not offer it hereType an example.
Could not load the recent runs.SchemasAny other failureTry again.
Choose a connection and a valid path before testing.TestNo connection, empty or absolute path, or a refused header or query parameterFix those problems.
There is no input example: mappings will read an empty input.TestInput example (JSON) is emptyAdd an example in Schemas for a meaningful test.
Too many tests in a short time. Wait a minute and try again.TestMore than 10 tests per minute in your companyWait.
The test call is not available in this environment yet.TestThe service does not offer the test here—
The test could not be run. Check the settings and try again.TestThe service refused the settings, or could not make the callSee Refused by the service.
Fill in this parameter.Preset formA required preset parameter is emptyFill it.
Use a two-letter country code in capitals, for example PT.Preset formA country parameter is not two lettersType two letters.
This source is not valid: use $form.…, $process.… or $doc.….….Preset formA source parameter starts with $ but is malformedCorrect it, for example $form.nif.
This connector needs a connection that does not exist yet in your organization, and only an administrator can create it. Ask an administrator to add this preset once; after that you can use it.Preset formFirst use of the preset in your company, by someone who is not an administratorAsk an administrator to add the preset once.
The value of "…" was refused. Check it and try again.Preset formThe service refused that parameter — for example Requester country without Requester VAT number, or the reverseCorrect it.
One of the parameters was refused. Check them and try again.Preset formThe service refused a parameter without naming itCheck every parameter.
This preset is no longer available. Reload the page to update the list.Preset formThe preset was removed from the catalogReload the page.
Could not prepare the connector. Try again in a moment.Preset formAny other failureTry again.
The preset catalog is not available right now, so its parameters cannot be reopened. The node keeps working as configured.Preset bannerThe catalog did not load, or no longer has this presetTry later; the phase still runs.
…: fill in the parameters to finish this connector.Preset bannerThe phase came from a workflow template and its preset parameters were never appliedPreset parameters › Apply parameters.

The messages of the Connections screen are in Overview and VIES tutorial.

Refused by the service​

When you publish, and when you test, the service checks the configuration again. The editor shows the service's message, which names the phase and the field. These are the checks the editor cannot make while you edit:

Rule the editor does not checkWhat to do
The connection must exist in your companySelect another connection. A phase that came from a workflow template names the connection it expects; create a connection with that name and select it.
A header cannot be the one that carries the connection's API keyRemove the header.
Document type cannot be the name of one of your extraction templatesChoose another name.
Schemas must be draft-07 or 2020-12, within 256 KB, 64 levels and 20000 nodes, without patternPropertiesSimplify the schema.
A transform's parameters must be usable: a regular expression the service can compile, a date pattern and a time zone it recognises, no value in both lists of to_booleanCorrect the transform.
At most 50 path or query parameters, 50 headers, 500 rules per mapping, 20 REST integration phases per workflowReduce them.

Errors at run time​

A failure during a process is not shown in the editor: it is written in the phase's output, under restCall. node id .error, and the process continues on Error (or fails, when Error is not connected). The Test tab shows the same output.

error.kindMeaningRetried?
transient5xx, 408 or 429; no answer within the timeout; host not found; connection failure; the credentials could not be decrypted at that moment; a Transient (retry) rule matchedYes, up to Retries
permanentAny other 3xx or 4xx; a body larger than 5 MB; an invalid configuration; the OAuth2 token request refused; a Permanent (error) rule matchedNo
request_schemaThe request could not be built: a mapping or a transform failed, a path parameter had no value, or the body did not match the Request schemaNo
response_schemaA success body that is not JSON, does not match the Response schema, or on which the Response mapping failedNo
connectionNo connection configured, the connection was deleted, or its stored credentials are unreadable — enter them again in ConnectionsNo
ssrfThe request would leave the connection's host or base path, or the host resolves to a private addressNo
not_foundA not-found result while Not found is not connectedNo
preflightA check before the call decided Permanent (error)No

error.message explains the cause; for a failed transform it names the rule, the transform and the value. error.bodyExcerpt holds up to 2 KB of the destination's answer, without the connection's secrets.


Last reviewed 2026-10-22 · Version 1.0.0 · Owner: product-documentation