get querys errors