improve(rest): rephrase exception messages for queries

CAM-694