Database Error Messages

OCI-19162

XPTY0004 - XQuery type mismatch: invalid argument types 'arg_type1', 'arg_type2' for function 'func_name'
  • arg_type1: The specified type of the first argument.
  • arg_type2: The specified type of the second argument.
  • func_name: The name of the function.

Cause

The type of the arguments that are passed to the specified function are not valid.


Action

Fix the arguments to be of types appropriate for the specified function.