Symptoms:
You get the following error during expdp or impdp
ORA-39006: internal error
ORA-39213: Metadata processing is not available
Solution:
Execute sys.dbms_metadata_util.load_stylesheets to fix this problem
#sqlplus / as sysdba
SQL> execute sys.dbms_metadata_util.load_stylesheets;
PL/SQL procedure successfully completed.
For more information please check Oracle Doc ID 402242.1