Oracle Solution for Error ora-22626

Solution for Oracle Error ORA-22626

ORA-22626: Type Mismatch while constructing or accessing OCIAnyData

What triggered the Error:

pe supplied is not matching the type of the AnyData. If piece wise construction or access is being attempted, the type supplied is not matching the type of the current attribute.

What should we do to fix it:

ke sure the type supplied matches the type of object to to be constucted or accessed.