Oracle Error Message
OCI-21573: Invalid command type (string) when sending a chunk.
Reason for the Error
An attempt was made to send a chunk when the command type for the current LCR was not INSERT, UPDATE, or LOB WRITE.
Solution
Check your program and provide an LCR with a valid command type to OCIXStreamInChunkSend call or to OCICallbackXStreamInChunkCreate callback.