How to fix the Oracle error OCI-21573: Invalid command type (string) when sending a chunk.?

In this post, you’ll learn more about the Oracle ErrorOCI-21573: Invalid command type (string) when sending a chunk. with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

OCI-21573: Invalid command type (string) when sending a chunk.

Reason for the Error OCI-21573: Invalid command type (string) when sending a chunk.

An attempt was made to send a chunk when the command type for the current LCR was not INSERT, UPDATE, or LOB WRITE.

How to fix the Error OCI-21573: Invalid command type (string) when sending a chunk. ?

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

Check your program and provide an LCR with a valid command type to OCIXStreamInChunkSend call or to OCICallbackXStreamInChunkCreate callback.

Tags :

Leave Your Comment