cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 5.2.3 : MySQLIntegrityConstraintViolationException Duplicate Entry upon call to upload

mohamad
Champ in-the-making
Champ in-the-making

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 ?

0 REPLIES 0