Oracle Error ORA-22923: amount of data specified in streaming LOB write is 0

Oracle Error Message

ORA-22923: amount of data specified in streaming LOB write is 0

Reason for the Error

Trying to write LOB value via the streaming mechanism (i.e. unlimited write) but the input amount of data to stream was specified as 0. Thus, the user is trying to write 0 bytes to the LOB value.

Solution

Write more than 0 bytes to the LOB value.