GetActiveSession error handling