Skip to main content


Hi Community, I am creating a playbook to get an email and scan it. When I am trying to extract URL domain using Tools_Extract_URL_domain action, I am getting this error.





I have attached my playbook. It would be great if anyone can check. Thanks





[15:21:12,000 ERROR] General error performing action Tools_ExtractURLDomain


[15:21:12,000 ERROR] 500 Server Error: Internal Server Error for url:
https://localhost:443/api/external/v1/sdk/UpdateEntities?format=snake
: b'{"ErrorCode":2000,"ErrorMessage":"An item with the same key has already been added. Key: Siemplify.DataModel.Results.CaseEntityKey","InnerException":null,"InnerExceptionType":null}'



View files in slack


Hi
@Ubaid Chawla
, How are you?


Usually, this error occurs when trying to add a JSON that contain a key that already exists in the entity's additional properties.


I'll suggest running the playbook on a new case with new URL to extract in order to avoid entities duplicity. Maybe the case that your playbook is attached to has the extracted URL already and this is why you are getting this error.


In addition, can you please send me the mapping configuration was made for this specific case and the email body you are trying to parse? (Attached images for you reference)



View files in slack



Hi
@Tehila_Gourary
, I am good. What about you?


Thank you for your response.



Let me try this with a new case and I will share with you the mail body and mapping configuration



Ok great! Please let me know if you have any further questions!



Sure thank you


Reply