Upload Failure in vSphere Client with Certificate Error for a specific user group
search cancel

Upload Failure in vSphere Client with Certificate Error for a specific user group

book

Article ID: 435687

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • While uploading files to a datastore via the vSphere Client encounter the following error:
    The operation failed for an undetermined reason. Typically, this problem occurs due to certificates that the browser does not trust. If you are using self-signed or custom certificates, open the URL below in a new browser tab and accept the certificate, then retry the operation.

  • Verify whether the issue is related to permissions by attempting the datastore ISO upload using the default vCenter Server Administrator account (e.g., [email protected])
    • If the upload fails with the Administrator account: The issue is likely system-wide. Please refer to following kb https://knowledge.broadcom.com/external/article/343447 for further troubleshooting.
    • If the upload succeeds, but fails for a specific user or group: The issue is permission-based, proceed to the follow this kb.

  • Similar entries can be found on the following vCenter logs:
    • /var/log/vmware/vpxd/vpxd.log
      YYYY-MM-DDTHH:MM:SS.056Z info vpxd[11941] [Originator@6876 sub=HTTP server /folder req=00007f58d8755f30 user=<Domain>\<User>] Got HTTP PUT request for /folder/Unconfirmed 847741.crdownload?dcPath=cloud&dsName=<Datastore Name>&enc=std
      .....
      YYYY-MM-DDTHH:MM:SS.058Z verbose vpxd[11954] [Originator@6876 sub=HTTP server /folder req=00007f58d8755f30] Sent Unauthorized response for PUT /folder/Unconfirmed%20847741.crdownload?dcPath=cloud&dsName=<Datastore Name>&enc=std
      YYYY-MM-DDTHH:MM:SS.058Z verbose vpxd[11954] [Originator@6876 sub=HTTP server /folder req=00007f58d8755f30] Missing required privilege - sent Unauthorized error for PUT /folder/Unconfirmed%20847741.crdownload?dcPath=cloud&dsName=<Datastore Name>&enc=std

    • /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log
      [YYYY-MM-DDTHH:MM:SS] [ERROR] data-service-pool-767 70032685 101315 200079 c.v.v.client.folder.LazyLoadingDataMigrationPropertyProvider Exception is thrown while retrieving lazyImportData propertiesjava.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.Unauthorized: Unauthorized (com.vmware.vapi.std.errors.unauthorized) => {
          messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
          id = vapi.security.authorization.invalid,
          defaultMessage = Unable to authorize user,
          args = [],
          params = ,
          localized =
      }],
          data = ,
          errorType = UNAUTHORIZED
      }

Environment

VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x

Cause

The user account lacks the specific privilege required for the vSphere Client to facilitate the transfer or an explicit deny rules is assigned directly to a child inventory object that override inherited permissions.

Resolution

If the upload succeeds for the Administrator account but fails for a specific user or group, perform the following troubleshooting steps:

    1. Check for Explicit Deny Overrides:

      • Navigate to the Datacenter or parent Folder object in the inventory tree.
      • Select the Permissions tab.
      • Verify if the user or group has an explicit "No Access" role assigned. Because vSphere follows a "closest permission in the inventory hierarchy wins" model, an explicit deny at the Datacenter level will override Global Permissions. Remove this entry if it is blocking legitimate operations.
    2. Verify Required Privileges:

      • If no Deny rules are found, navigate to the target datastore.
      • Select the datastore and verify permissions for the user or group.
      • Ensure "Propagate to children" is enabled.
      • Update the role to include:
        • Datastore: Browse datastore
        • Datastore: Low-level file operations
    3. Validate:

      • Attempt to upload a file again after adjusting the role or removing the explicit Deny rule.