My Oracle Support Banner

Upload Fails when Transferring Assets using the OCM Toolkit (Doc ID 2970714.1)

Last updated on AUGUST 29, 2023

Applies to:

Oracle Content Management - Version N/A and later
Content and Experience Cloud Service - Version N/A and later
Content and Experience Cloud Classic - Version 18.1.2 and later
Information in this document applies to any platform.


Users are finding issues with transferring assets from one environment to another environment.

The commands we are running are the following:

cec download-content <Channel> -s <Source> -q "type eq \"Asset Type\""

cec upload-content <Channel> -r <Target> -p -f "C:\Users\totem\Documents\Totem\Oracle\service-web\src\content\source\ContentItems\Asset Type" -s <Target> -c <Channel> -b


The download from the source is successful, but the upload to the target fail with the error: "ERROR: failed to publish content"


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.