Oracle Message ORA-22819 - scope of input value does not correspond to the scope of the target

ERRORscope of input value does not correspond to the scope of the target
CAUSEAn attempt to operate on a REF value scoped to a different table than the expected one
ACTIONUse a ref which is scoped to the expected table and retry the operation