LPS-42540 Add more information about the duplicate exception and display it in the UI