To fix the 417 error please add on your script System.Net.ServicePointManager.Expect100Continue = false; Related posts: I get the 406 Error Code How many connections/threads to use with the proxies? 502 error on cloudflare Unable to connect to the proxy server error