Oracle Error ORA-24502: codepoint length overflows

Oracle Error Message

ORA-24502: codepoint length overflows

Reason for the Error

Returned buffer has more codepoints than allowed

Solution

Set OCI_MAXCHAR_SIZE large enough to accommodate