ORA-19169
FORG0006: invalid argument type in 'string'
Cause
The argument passed to the indicated function was inappropriate. For instance, non-numeric arguments were passed to fn:sum.
Action
Fix the argument or pick an appropriate function instead.