Try catch around method call to getValidServices