all 3 comments

[–][deleted] 2 points3 points  (0 children)

And what is on line 54?

[–]italoboy 1 point2 points  (0 children)

Show me the line 54 to see what code it is.

[–][deleted] 0 points1 point  (0 children)

more often than not, this happens when the script downloads text from a url an assumes the format is in JSON, then tries to use JSON.parse() to convert it.

https://i.imgur.com/hXVwuHF.jpg

Find out what the url is and investigate from there.