Can’t parse JSON error

Hello, I am trying to get all the members that have a specific group role in my group. I got this error though
The error happened on the local rankIds line

Here is the script I used

I just found out that rprxy was shut down. I tried Roproxy but it didn’t work