Ara
Download

Search or run a command

Jump to a section or open an Ara link.

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, types map 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.set with entity, path and value; correct malformed file structure and rerun ara check <file>.

  • Code: ARA1102

  • Constant: TYPE_MISMATCH

  • Reported by: ara-schema, ara-doc, ara-cmd, ara-script, ara-anim