Skip to main content

Error message

When this error occurs

Non-primitive nodes model either objects (with named children via properties) or arrays (with element config via items). A node cannot be both. This error is raised when both properties and items appear on the same node.

Example: request that triggers this error

The metadata field has both properties (object) and items (array).

How to fix

Use only the one that matches the field’s actual schema type: If the field is an object:
If the field is an array: