Oracle Solution for Error ora-39020

Solution for Oracle Error ORA-39020

ORA-39020: invalid mode type string

What triggered the Error:

User specified an invalid mode on an DBMS_DATAPUMP.OPEN API or an invalid mode was specified in the master table for a restart API.

What should we do to fix it:

Correct the mode and recreate the job.