Added more error messages in portal.