Creating a New Virtual Machine in vCenter fails with error: Error Loading Data
search cancel

Creating a New Virtual Machine in vCenter fails with error: Error Loading Data

book

Article ID: 422792

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • New VM creation under vCenter UI will fail with error: Error Loading Data




  • Under vCenter's /var/log/vmware/vsphere-ui/logs/apigw.log, below error log snips are available:

    [YYYY-MM-DDTHH:MM:SS] [ERROR] agw-httpclient-worker-1  ####### ###### ###### ApiGwApiProviderForwarder [q-######:h5ui-getProperties:urn:vmomi:ClusterComputeResource:domain-c##:########-####-####-####-############:##########:##] Authentication failed. Will not forward com.vmware.cis.data.provider.resource_model.query to http://localhost:1080/external-vecs/http2/vCenter-fqdn/443/wcp:com.vmware.vcenter.apigw.security.AuthenticationException: Failed to log into [uri=http://localhost:1080/external-vecs/http2/vCenter-fqdn/443/wcp, sessionMgr=SessionManagerInfo [_sessionMgrSvcId=com.vmware.cis.session, _loginOpId=create, _logoutOpId=delete], ssoDomain=vsphere.local(########-####-####-####-############)]:com.vmware.vapi.std.errors.unauthenticated => {data=<unset>, error_type=UNAUTHENTICATED, messages=[com.vmware.vapi.std.localizable_message => {args=[], default_message=Unable to authenticate user, localized=<unset>, id=vapi.security.authentication.invalid, params=<unset>}]}

Cause

This issue occurs if there is an Authentication failure with the vCenter.

Resolution

To resolve this issue, follow the steps below:

  1. Reboot the vCenter.
  2. Retry the VM creation Task.

Additional Information

This issue may also occur, due to high vCenter uptime.