throw error when hitting async