Oracle Message ORA-24802 - user defined lob read callback error

ERRORuser defined lob read callback error
CAUSEThe only valid return value for a user defined lob read callback function is OCI_CONTINUE. Any other value will cause this error.
ACTIONVerify that OCI_CONTINUE is returned from the user defined lob read callback function.