ORA-39097: Data Pump job encountered unexpected error -942
Known issue:

https://community.oracle.com/thread/4125750

ORA-39006, ORA-39065 and ORA-00942: table or view does not exist When Starting DataPump in 12.2 (Doc ID 2341607.1)

Rebuild the missing part by running:

catalog.sql
catproc.sql
utlrp.sql