Shows error when there is error parsing the query