Better error message when service names are invalid