How to fix the Oracle error OCI-21570: current string LCR has unreceived chunk data?

In this post, you’ll learn more about the Oracle ErrorOCI-21570: current string LCR has unreceived chunk data with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

OCI-21570: current string LCR has unreceived chunk data

Reason for the Error OCI-21570: current string LCR has unreceived chunk data

The client did not receive all the chunk data for the current LCR.

How to fix the Error OCI-21570: current string LCR has unreceived chunk data ?

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

If OCIXStreamOutLCRCallbackReceive is used in your program then modify your callback functions to return OCI_CONTINUE while OCI_XSTREAM_MORE_ROW_DATA flag is set; otherwise, modify your program to call OCIXStreamOutChunkReceive until all the chunks are received (that is, the flag returned by OCIXStreamOutChunkReceive API does not have OCI_XSTREAM_MORE_ROW_DATA bit set).

Tags :

Leave Your Comment