Error with Contextual Role Expression

Version: 2023.9.8

What is the correct way of writing the below expression for the contextual role. I get an error, shown in the attached image, every time I try to save/submit the form

Update: I was able to fix it by recreating the role. The error appeared when I tried to update the role from regular role to contextual one.

Noted, thanks, will see if i can resolve this so it doesn’t happen.