Solved

Getting Internal Server Error when creating custom property using Regex

  • 16 February 2023
  • 1 reply
  • 47 views

Badge +1

Hi,

I am trying to extract a GUID from the Path using Regex. I am defining custom property and below is the screenshot on how I am doing it

 

 

Below are the few examples from Path property
 

/solutions/eeb28046-53a9-4f6c-b355-10b09b63390d
/categories/37693768-0e8d-4e46-bc8a-3016330403e7
categories/37693768-0e8d-4e46-bc8a-3016330403e7?tab=use-cases
/categories-guide-pages/edit/94606a2f-9991-4f51-a2b5-8c8d57055d82

 

Here is the Regex, I am using to extract GUID
([a-z0-9]{8}[-][a-z0-9]{4}[-][a-z0-9]{4}[-][a-z0-9]{4}[-][a-z0-9]{12})

 

I tried this here: https://regex101.com/ and it is working. I am not sure why Heap is throwing Internal server error.

 

Thanks,

Ronak

 

icon

Best answer by jonathan 17 February 2023, 20:10

View original

1 reply

Userlevel 5
Badge +3

Hey @Ronak-Panda I can’t repro. Likely was just a transient flake. Would you mind checking if it’s still happening, and if so, logout/login and see if it persists?

Reply