ORA-22819: scope of input value does not correspond to the scope of the target
Cause: An attempt to operate on a REF value scoped to a different table than the expected one
Action: Use a ref which is scoped to the expected table and retry the operation
https://support.oracle.com/
http://www.oracle.com/