Oracle Solution for Error ora-14270

Solution for Oracle Error ORA-14270

ORA-14270: table is not partitioned by Range, System, Hash or List method

What triggered the Error:

The table in ALTER TABLE MODIFY PARTITION { UNUSABLE LOCAL INDEXES | REBUILD UNUSABLE LOCAL INDEXES } statement is not partitioned by Range,List,System, or Hash method which is illegal.

What should we do to fix it:

Ensure that the table is partitioned by Range,List,System, or Hash method