This issue occurs due to the default mode of the H5 client which was to return the stack traces for debug purposes.
Update error.stackTrace.show=false in the webclient.properties file.
cd /etc/vmware/vsphere-ui/
vi webclient.properties
"error.stackTrace.show = false"
Esc > :wq!
service-control --restart vsphere-ui