ARTIFACTORY: How to fix the Replication failure with error "value too long for type character"

Products
Frog_Artifactory
Content Type
Use_Case
AuthorFullName__c
Yanxiu Wu
articleNumber
000007045
FirstPublishedDate
2026-07-15T10:02:59Z
lastModifiedDate
2026-07-15

ARTIFACTORY: How to fix the Replication failure with error "value too long for type character"

Introduction 
When you trigger the replication job manually or by cron job, you should see the message “Replication tasks scheduling finished successfully” from the UI. But after checking the target Artifactory, sometimes you may find that the artifacts are not replicated to the target Artifactory. Then, checking the logs in the artifactory-service.log, you may find the following error message:
An error occurred while performing replication for repository 'generic-replication-test'
org.artifactory.storage.StorageException: Failed to update job with id : 100011ERROR: value too long for type character varying(2048)

Root Cause

The root cause of this issue is that the replication metadata exceeds the **2048** character limit (by default) of the Artifactory setting for the replication job. The parameter is artifactory.jobs.table.additional.details.max.size

This occurs when a replication job has an extensive list of include/exclude patterns or a long target URL, which Artifactory attempts to serialize into a JSON blob before starting the job. 


Resolution 

We do not suggest changing the value of the artifactory.jobs.table.additional.details.max.size parameter. As a non-disruptive alternative, reduce the number of explicit include/exclude patterns in the replication configuration. Consolidating multiple specific patterns into broader wildcard expressions will reduce the size of the serialized metadata.