Alfresco 5.2.3 : MySQLIntegrityConstraintViolationException Duplicate Entry upon call to upload

cancel
Showing results for 
Search instead for 
Did you mean: 
mohamad
Member II

Alfresco 5.2.3 : MySQLIntegrityConstraintViolationException Duplicate Entry upon call to upload

Hi,

 We've been getting this error:

com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate Entry

returning from every call to: 

/alfresco/s/api/upload

The exact SQL query is:

insert into alf_content_url (content_url, content_url_short, content_url_crc, content_size, orphan_time) 

values ('store://2021/8/30/13','5267da2e.bin',3465106200,68328,null);

com.mysql.jdbc.exceptions.jdbc4.MYSQLIntegrityConstraintViolationException: Duplicate entry '5267da2e.bin-3465106200' for key 'idx_alf_conturl_cr' 

How come this error occured when this is a fresh file upload ?