You can skip the API at handy entirely and replicate it with handycontrol, handycontrol will run its own api server locally on your PC, then you direct scriptplayer to that via the local settings, you have to make sure there is visibility across your network, but this will resolve any issue with large files, as I had the same (also scripts load faster).
Heres a post where i talk about it and have some settings
https://discuss.eroscripts.com/t/scriptplayer-1-1-1-and-the-handy/11817/9