Oracle Message OCI-22626 - Type Mismatch while constructing or accessing OCIAnyData

ERRORType Mismatch while constructing or accessing OCIAnyData
CAUSEType 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.
ACTIONMake sure the type supplied matches the type of object to to be constucted or accessed.