Oracle Error Message
OCI-21574: Invalid data type (string) specified for LOB chunk.
Reason for the Error
Invalid data type specified for LOB chunk in OCIXStreamInChunkSend call.
Solution
Check your program and provide either SQLT_CHR or SQLT_BIN for ‘coldty’ argument to OCIXStreamInChunkSend call.