adding server rest error messages