[SOLVED] Episode Trimmer Script - Sonarr Permissions Error?

It ended up being the url base that I was missing: