Oracle Error ORA-00022: invalid session ID; access denied

Oracle Error Message

ORA-00022: invalid session ID; access denied

Reason for the Error

Either the session specified does not exist or the caller does not have the privilege to access it.

Solution

Enter a session ID that is legitimate and that you have access to—either you own it or you have the CHANGE USER privilege.