Oracle Error ORA-19031: XML element or attribute string does not match any in type string.string

Oracle Error Message

ORA-19031: XML element or attribute string does not match any in type string.string

Reason for the Error

The passed in XML tag does not match any in the object type

Solution

Pass a valid canonical XML that can map to the given object type