Happy New Year For All , And Wish you All Best
ORA-20222 “Given capture_id \”%s\” is invalid or the corresponding capture failed”
ORA-20222: Workload was not captured in the current database. Cannot export!
ORA-06512: at “SYS.DBMS_WORKLOAD_CAPTURE”, line 1588
ORA-06512: at line 2
Regarding to Https://support.oracle.com Note :
is a generic error message that can occur due other underlying error during Capture.
Check the error accompanying with ORA-20222.
Ensure correct directory name is used including check the case-sensitivity of the directory name.
The directory name is case sensitive. Ensure READ and WRITE privilege on the DIRECTORY object to the which is the capture is written.
Happy New Year Again .