Oracle Error ORA-24801: illegal parameter value in OCI lob function

Oracle Error Message

ORA-24801: illegal parameter value in OCI lob function

Reason for the Error

One of the parameter values in the OCI lob function is illegal.

Solution

Check every parameter in the OCI Lob function call to make sure they are correct. Offsets should be greater than or equal to one.