Oracle Error ORA-12351: cannot create view using a remote object which has a remote object reference

Oracle Error Message

ORA-12351: cannot create view using a remote object which has a remote object reference

Reason for the Error

You tried to create a view which references a remote object which, in turn, references an object on another database. Since the view that you tried to create references a remote object, that object cannot reference an object on another database.

Solution

Choose a different object to reference in your view or change the remote object so that it does not reference another database.