Database Error Messages

ORA-40815

cannot create JSON array inside another array

Cause

An attempt was made to create a JavaScript Object Notation (JSON) array using the CREATE ON MISSING clause to add this new array to another existing array. This is not possible because a newly created array using the CREATE ON MISSING clause can only be added to an object.


Action

Correct your path expression to either add the new array to a JSON object or to append it to the existing array.