5 Replies · Latest reply on Jan 15, 2018 10:36 PM by Manisha Idhate

    On service portal getting error on browser as  unique key violation detected by database for primary key

      Hi,

       

      I am using below code on client script , after clicking on one button , new window get pop up on screen,

       

      But when window get pop up "unique key violation detected by database for <sys id > primary key" this error gets on browser ,

       

      c.openModal = function() {

      var myWindow = window.open("https://dev34628.service-now.com/sp?id=kb_article&sys_id=44d4e3ccdbe887c4b0a23ede7c9619cf", "myWindow", "width=400,height=400 left=70,top=8 0'");     

        };

       

       

      Thanks,

      Manisha Idhate