Added support to show error message related to restricted functions on server side