Oracle Error ORA-39159: cannot call this function from a non-Data Pump process

Oracle Error Message

ORA-39159: cannot call this function from a non-Data Pump process

Reason for the Error

Called a Data Pump process model function from a process which is not a Data Pump process.

Solution

Refer to any other error messages for additional information. If this error occurs from a Data Pump client (e.g. expdp or impdp), try the operation again. If the error occurs again, contact Oracle Customer Support and report the error.