Database Error Messages

OCI-19163

XPTY0004 - XQuery type mismatch: argument type mismatch: expected - 'exp_arg_type'; actual - 'actual_arg_type' for function 'func_name'
  • exp_arg_type: The expected argument type.
  • actual_arg_type: The type of the argument passed.
  • func_name: The name of the function.

Cause

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


Action

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