Oracle Message ORA-22627 - tc [string] must be that of object/varray/nested table

ERRORtc [string] must be that of object/varray/nested table
CAUSEType code is not that of object/varray/nested table
ACTIONMake sure the type code is OCI_TYPECODE_OBJECT or OCI_TYPECODE_VARRAY or OCI_TYPECODE_TABLE