Oracle Solution for Error ora-39001

Solution for Oracle Error ORA-39001

ORA-39001: invalid argument value

What triggered the Error:

The user specified API parameters were of the wrong type or value range. Subsequent messages supplied by DBMS_DATAPUMP.GET_STATUS will further describe the error.

What should we do to fix it:

Correct the bad argument and retry the API.