Oracle Solution for Error ora-12031

Solution for Oracle Error ORA-12031

ORA-12031: cannot use primary key columns from materialized view log on "string"."string"

What triggered the Error:

The materialized view log either did not have primary key columns logged, or the timestamp associated with the primary key columns was more recent than the last refresh time.

What should we do to fix it:

A complete refresh is required before the next fast refresh. Add primary key columns to the materialized view log, if required.