Oracle Error Message
ORA-22921: length of input buffer is smaller than amount requested
Reason for the Error
The buffer length is not big enough to hold the amount of data requested.
Solution
Verify that the number of bytes/characters specified in the input amount parameter is not bigger than the number of bytes specified in the input buffer length parameter. Allocate more space for the input buffer if necessary.