I have this simple C# code in my SSIS package:
string ViewMetadata = "https://people.zoho.eu/people/api/views?authtoken=XXXXXX";
System.Net.WebClient Client = new System.Net.WebClient();
var data= Client.DownloadString(ViewMetadata);
It worked fine before but after access token got expired and we changed it. it doesn't work anymore and I get the error(403 forbidden).
the weird part is I can open this URL on chrome (with my new private access token instead of XXXX) and even when I use a simple C# solution outside of SSIS it works fine. I searched for it and people suggest to add headers so I tried everything but nothing works for me. (WebClient 403 Forbidden)
also if I change the URL to something else like "google.com" everything works fine even in SSIS.
Thanks for help
EDIT: Nothing about Access token matters here because you can get an error page with this random access token but I get the error 403 in SSIS.