Add better (more descriptive) error for null sessionId