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
arjun mohanarjun mohan 

Connect Odata Service to Salesforce Connect Odata 4

Hi All,

Am trying to connect OdataService which is built on .net core to My salesforce Connect Odata 4 

Am receiving following error when i try to validate the External Data source in SF

"

An error occurred while connecting to the external system. Please try again, or contact your administrator. Attempted to reach this URL: https://localhost:4567/odata/$metadata. Error received from the external system: 403"

Added Localhost to remote site settngs

 

Best Answer chosen by arjun mohan
arjun mohanarjun mohan

HI So Ribes,

i found solution to my issue,

after hosting that in public url it started conneting via Salesforce Connect.

Let me know if you are still facing the issue.

 

Thanks

Arjun.M

All Answers

So RibesSo Ribes
Hello Arjun, 
Do you have any new information about this mistake?
I get the same error when trying to connect my external data source via Odata 2.0 to a sharepoint site.

Thank you, 
 
arjun mohanarjun mohan

HI So Ribes,

i found solution to my issue,

after hosting that in public url it started conneting via Salesforce Connect.

Let me know if you are still facing the issue.

 

Thanks

Arjun.M

This was selected as the best answer
So RibesSo Ribes

Hi Arjun, 
I've tried several URLs and I always get the same error 
- https://XXXXX.sharepoint.com/sites/Salesforce/_vti_bin/listdata.svc/
- https://XXXXX.sharepoint.com/sites/Salesforce/Lists/Contacts/AllItems.aspx
- https://XXXXX.sharepoint.com/sites/Salesforce/

An error occurred while connecting to the external system. Please try again, or contact your administrator. Attempted to reach this URL: [url]/$metadata. Error received from the external system: 403:  Request Error Request Error The server encountered an error processing the request. .
See server logs for more details.

I've changed my sharepoint site to a public group and I have the same error with all my URL tests.

Do you have any ideas? 

Thank you for your help, 
Sophie.

arjun mohanarjun mohan

Hi Sophie,

Is your URL in Remote Site Settings IN SF?

Thanks/
Arjun.M