We created a simple string script field, and we are getting a error in discovery and when we try to use that script field in any vizualization.
I belive the images will explain it better:
The script field:
Using the "Get help with the sintax and preview the results" tool:
Error in Discovery:
Error trying to use the field in a pie Vizualize:
Does anyone knows what could be the problem?