Diagnostic code · ARA1102
Wrong value type
A value has the wrong JSON shape for its schema, command parameter or animation document. The affected operation fails validation. A malformed document header prevents loading; field errors can leave a parsed document that is unsafe to write back.
Common causes
- A string where a number, boolean, object or array is expected.
- A vector with the wrong number of numeric elements, an invalid entity address or a non-integer value for an integer field.
- A non-object document, record,
typesmap or command argument object.
Fixes
Check
ara schema <Type>for the expected shape and supply the value in that form.Correct a loaded entity through
ara do property.setwithentity,pathandvalue; correct malformed file structure and rerunara check <file>.Code:
ARA1102Constant:
TYPE_MISMATCHReported by: ara-schema, ara-doc, ara-cmd, ara-script, ara-anim