Salesforce production connection error: only http and https schemes are allowed


I am working on salesforce project by using UIPATHTeam.Slesforce.ExtensionPackage and UIPATHTeam.Salesforce.Lightning_Platform packages “Salesforce Application Scope” to get data from Salesforce.

We have tested on Salesforce Test environment, it worked perfectly (proof as below), and now we are changing to prd environment, there are connection issues.

Prd env connection status

I have got the production salesforce’s Consumer Key, Consumer Security, Security Token and login, but it cannot connect to SF.

when I use “Get Data Wizard” to test connection, it’s “ValidConnection” is false,

and “Response” is

System.ArgumentException: Only ‘http’ and ‘https’ schemes are allowed. Parameter name: requestUri at System.Net.Http.HttpRequestMessage.InitializeValues(HttpMethod method, Uri requestUri) at System.Net.Http.HttpRequestMessage…ctor(HttpMethod method, String requestUri) at UiPathTeam.Salesforce.ExtensionPackage.CmdRestAPI.d__51.MoveNext()


Does anyone has clue to connect this?


1 Like

Hi @jingwang0222

Check this



Hi All

the problem fixed. Thanks.
my uipath setting is all good, nothing can be changed from uipath side.

My SF admin change one option in SF from “admin approved users pre-authentication” to “all users authenticated”. then all good.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.