using community version and open a python script manual input
import json
def myfunc(mystr: str) -> str:
data = json.loads(mystr)
return data['meta']
when I call the function myfunc passing a string I get bot error. The string is json returned from an rest api call, when I put the script in a py file and run from desktop command line it works fine.
I worked 1 time then it keeps returning bot error. I noticed lots of issues on forum with this type of issue: running python in AAI