java.sql.BatchUpdateException: (conn=*****) Duplicate entry '3c4464a7b701230034d1da2*******' for key 'PRIMARY'

srinidhi
Tera Guru

Hi Team,

Unable to import the xml's getting below error. Please refer the screenshot. Please let me know how to resolve this

Thanks.

find_real_file.png

1 ACCEPTED SOLUTION

Check with the same sys_id on the table, there must be some existing record, which is causing this behavior.

You can use this script as well, to see which record corresponds to this sys_id:

https://community.servicenow.com/community?id=community_question&sys_id=bda11b6ddbdcdbc01dcaf3231f96...

 

Best Regards
Aman Kumar

View solution in original post

5 REPLIES 5

Thanks @Aman Kumar, checked the sys_id and found the duplicate onces.