Oracle Message ORA-24801 - illegal parameter value in OCI lob function

ERRORillegal parameter value in OCI lob function
CAUSEOne of the parameter values in the OCI lob function is illegal.
ACTIONCheck every parameter in the OCI Lob function call to make sure they are correct. Offsets should be greater than or equal to one.