search for db error