Hi tejas,
The reason yielding this error varies. One of the possibility could be the TLS version, could you try adding these two lines at the beginning of the downloading function:
System.Net.ServicePointManager.SecurityProtocol = (SecurityProtocolType)768 | (SecurityProtocolType)3072;
Also, could you provide with your .NET version and a more detailed error trace of your exception?
Duo
Comments
Reply to: Retrieve Documents (REST API)
Monday, April 1, 2019 at 06:18amReply to: Retrieve Documents (REST API)
Monday, April 1, 2019 at 07:18am