Message Oracle ORA-38438 - getVarchar not possible due to string datatype in the attribute set

ERRORgetVarchar not possible due to string datatype in the attribute set
CAUSEAn attempt was made to use the getVarchar API when the attribute set has one or more non-scalar types.
ACTIONUse AnyData conversion to encode the data item.