Skip to main content

Warnings

A warning means the request succeeded, but something in the answer deserves attention. Each warning has a code, a pointer to the part of the answer it is about, and a detail in the response language.

  • Lists, searches, batches and tasks carry warnings in a warnings array in the response body.
  • A response about one resource carries them in the Docwize-Warnings header: the codes, each with its pointer, for example Docwize-Warnings: duplicate_reference_revision;pointer=%"/reference_number". The header has no detail; the page of the code explains it.

Warning codes​

CodeWhen
ambiguous_lookup_nameA code in the warning catalogue. No operation of this version sends it.
deprecated_modelA saved Oliver configuration uses a model that still runs but is no longer offered. The detail names its replacement.
duplicate_reference_revisionA document was created with a reference number and revision that another document already has. The document was created anyway. The pointer is /reference_number.
invalid_json_valueA JSON value the API read for a custom field is not valid JSON. The value reads as null.
invalid_utf8_replacedA text value the API read for a custom field is not valid UTF-8. The invalid bytes are replaced with � (U+FFFD) and the rest of the text is returned.
label_unavailableA list-backed field value keeps its key but has no label, because its list is set up so that Docwize cannot evaluate it. The detail says why.
partial_responseThe change was saved, but the resource could not be read back. The response is the success status with a receipt of the IDs instead of the resource.
private_folder_not_administratorsA folder was saved as the Workflow private folder. It has one permission entry, but that entry is not for a group whose permission set has Grant Folder Group Access. The setting was saved anyway. The pointer is /private_folder/folder_id. The warning is sent only when the key's user has View Workflow Builder Settings and View Folder Security.
private_folder_not_privateA folder was saved as the Workflow private folder, but it has no permission entry or more than one. The setting was saved anyway. The pointer is /private_folder/folder_id. The warning is sent only when the key's user has View Workflow Builder Settings and View Folder Security.
results_limitedThe list is answered by a search that returns only its first matches, and more items match. The answer has no next page. The pointer is /items.
unreadable_imageA signature or image field holds a stored value that cannot be read as an image. The field reads as null. The pointer names the field under /values.
unrecognised_checkbox_valueA checkbox field holds stored text that is not a checkbox value. The field reads as false. The pointer names the field under /values.
value_unavailableA custom-field value worked out when it is read (Calculated, Lookup or a custom-field reference) cannot be worked out as the field is set up. The value reads as its empty form, and the detail says why.