Oracle Error Message
OCI-21570: current string LCR has unreceived chunk data
Reason for the Error
The client did not receive all the chunk data for the current LCR.
Solution
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).