Skip to main content

Extract URL domain using Tools_Extract_URL_domain action - getting error.

  • February 2, 2022
  • 5 replies
  • 52 views

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

5 replies

  • February 3, 2022

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


  • February 3, 2022

Hi @Tehila_Gourary , I am good. What about you?
Thank you for your response.


  • February 3, 2022

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


  • February 3, 2022

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


  • February 3, 2022

Sure thank you