Oracle Database / Multitenant, Patching & Deployment
ORA-39087: verify a Data Pump directory object in the right container
A Data Pump directory name can be missing, misspelled or unavailable to the job's account in this PDB.
Environment and inputs: Oracle Database 19c baseline · SQL*Plus-compatible SQL unless RMAN, DGMGRL, ADRCI or a host shell is specified. Check release, patch level, edition and container first.
Start with this diagnostic
Run each example in the tool named in the guide: SQL, RMAN, DGMGRL or the host command shell. Replace example names with approved values. To query DBA and V$ views, use authorized catalog access in the correct database container. Do not add broad permissions just to run an example.
SELECT SYS_CONTEXT('USERENV','CON_NAME') AS con_name FROM dual;
SELECT directory_name, directory_path FROM all_directories WHERE directory_name = 'DP_DIR';
What the results mean
The pair checks the target context and visible directory mapping. It does not prove underlying filesystem access.
Fix the cause and check again
Create or grant the intended directory object only through the approved DBA process, then validate path access and job parameters.
Before you make a change
Do not substitute the operating-system path where Data Pump expects a directory object name.