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.
ORA-40815
cannot create JSON array inside another array
Cause
An attempt was made to create a JSON array using the CREATE ON MISSING option to add this new array to another existing array. This was not possible as an array newly created by the CREATE ON MISSING option could only be added to an object.
Action
Correct your path expression to either add the new array to a JSON object or to append to the existing array.
ORA-40815
cannot create JSON array inside another array
Cause
An attempt was made to create a JSON array using the CREATE ON MISSING option to add this new array to another existing array. This was not possible as an array newly created by the CREATE ON MISSING option could only be added to an object.
Action
Correct your path expression to either add the new array to a JSON object or to append to the existing array.