Oracle Solution for Error ora-02428

Solution for Oracle Error ORA-02428

ORA-02428: could not add foreign key reference

What triggered the Error:

could not add a foreign key reference because of error in declaration. Either referenced table does not exist or table does not have an unique key.

What should we do to fix it:

make sure referenced table exists and/or has unique key