How to fix the Oracle error OCI-21574: Invalid data type (string) specified for LOB chunk.?

In this post, you’ll learn more about the Oracle ErrorOCI-21574: Invalid data type (string) specified for LOB chunk. with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

OCI-21574: Invalid data type (string) specified for LOB chunk.

Reason for the Error OCI-21574: Invalid data type (string) specified for LOB chunk.

Invalid data type specified for LOB chunk in OCIXStreamInChunkSend call.

How to fix the Error OCI-21574: Invalid data type (string) specified for LOB chunk. ?

You can fix this error in Oracle by following the below steps

Check your program and provide either SQLT_CHR or SQLT_BIN for ‘coldty’ argument to OCIXStreamInChunkSend call.

Tags :

Leave Your Comment