Oracle Error Message
ORA-24406: API mode switch is disallowed when a call is in progress.
Reason for the Error
A mode switch from OCI8 to OCI7 was attempted in a callback.
Solution
The user should perform the API mode switch either prior to initiating the top call or after the main call is done.