function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Donald SbaboDonald Sbabo 

UNSUPPORTED_CLIENT error

Hello I am trying to creatge a program that interface with docuware using visual studio.  However when I try to login with the SOAP API login function I get the error "UNSUPPORTED_CLIENT: TLS 1.0 has been disabled in this organization. Please use TLS 1.1 or higher when connecting to Salesforce using https.;"  The browser I am using is not using TLS 1.0 but it is still not connecting correctly.  What can I do to fix this?
Daniel BallingerDaniel Ballinger

It is most likely related to the .NET support for TLS 1.1 and higher. See Salesforce disabling TLS 1.0 (https://help.salesforce.com/articleView?id=Salesforce-disabling-TLS-1-0&language=en_US&type=1)

As a simple starting point, check System.Net.ServicePointManager.SecurityProtocol. It should include Tls12 to work with Salesforce.

Or switch to .NET 4.6 or higher.