Oracle Error Message
ORA-41207: Cannot restore session state due to reason (string, string)
Reason for the Error
Session state restore was initiated when session was not ready for state restore.
Solution
Restore session state immediately after logging into a session or perform necessary operations to make the session ready for restore; for example, commit current transaction, or close BFiles.