ORA-40895
invalid SQL expression in JSON relational duality view (string)
Cause
An invalid SQL expression was used in JSON relational duality view.
Action
Ensure that a JSON relational duality view is constructed solely using JSON_OBJECT and JSON_ARRAYAGG with JSON_OBJECT input. Joins must be expressed on key columns with referential integrity constraint.