Oracle Error ORA-06559: wrong datatype requested, string, actual datatype is string

Oracle Error Message

ORA-06559: wrong datatype requested, string, actual datatype is string

Reason for the Error

The sender put different datatype on the pipe than that being requested (package ‘dbms_pipe’). The numbers are: 6 – number, 9 – char, 12 – date.

Solution

Check that the sender and receiver agree on the number and types of items placed on the pipe.