rest error messages updated.