Subscribed content library item unable to sync with error: 'A general system error occurred: Error transferring file'
search cancel

Subscribed content library item unable to sync with error: 'A general system error occurred: Error transferring file'

book

Article ID: 388148

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Task to sync subscribed content-library item fails with the below error message.

A general system error occurred: Error transferring file packer_windows_xxxxx.vmdk from https://vcenter.domain.local:443/cls/vcsp/lib/90b910e4-46de-4cfd-9f53-5b4aaddc8404/62eeec3c-yyyy-zzzz-88dc-xxxxxxxxxxxxxx/packer_windows_xxxxx.vmdk. Reason: Invalid response code: 400.

Below error is reported in /var/log/vmware/content-library/cls.log

YYYY--MM-DDTHH:MM:SSZ | DEBUG    | q-4400181:h5ui-getProperties:urn:vapi:com.vmware.content.library.DummyItem:itemId:0b66c3a1-577f-4e96-8321-d9769f2f65b3:1270059042:LibraryItemPropertyProvider:13208393-s28dv-h5:73029615 | tomcat-http-14            | ApiMethodSkeleton              | Method com.vmware.content.library.item_path.get_by_datastore_path threw an exception
com.vmware.vapi.std.errors.InvalidArgument: InvalidArgument (com.vmware.vapi.std.errors.invalid_argument) => {
    messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {
    id = com.vmware.vdcs.cls-main.validate_general_invalid_parameter,
    defaultMessage = Parameter value [esxi.domain.local] ke-ga059-dmz-workers-0-20137ed1-k89cq/user-data.iso is not valid.,
    args = [[esxi.domain.local] ke-ga059-dmz-workers-0-20137ed1-k89cq/user-data.iso],
    params = <null>,
    localized = <null>
}],
    data = <null>,
    errorType = INVALID_ARGUMENT

   

Environment

VMware vCenter Server 7.x

VMware vCenter Server 8.x

Cause

Local content library item is unavailable.

Resolution

As the source content library item is missing, we need to re-upload the content library item and initiate a re-sync across the subscribed content libraries.

To re-sync we can refer to the following document: Synchronize the Contents of a Subscribed Library.
To re-upload the content library item, please refer: How to Populate Libraries with Content