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

Aman Kumar S
Kilo Patron

When are you getting this error?

Check if your BR has current.update() statement

Best Regards
Aman Kumar

Hi Aman,

While uploading the xml file on change approval policies table.

Yeah will check.

Hi Aman, No BR i have checked.

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