# Workplace SF connector fail "Unable to load page"

**URL:** <https://discuss.elastic.co/t/workplace-sf-connector-fail-unable-to-load-page/358664>\
**Category:** Elastic Search\
**Tags:** elastic-workplace-search\
**Created:** [May 2, 2024, 3:45pm UTC](https://discuss.elastic.co/t/workplace-sf-connector-fail-unable-to-load-page/358664 "2024-05-02T15:45:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nokki123123](https://avatars.discourse-cdn.com/v4/letter/n/ea666f/32.png) [@Nokki123123](https://discuss.elastic.co/u/Nokki123123)\
**Post date:** [May 2, 2024, 3:45pm UTC](https://discuss.elastic.co/t/workplace-sf-connector-fail-unable-to-load-page/358664/1 "2024-05-02T15:45:07Z")

</div>

Hi Team,

After we succeed to sync Sharepoint with Elastic workspace I'm trying to connect Salesforce with no success. We getting "Unable to load page"  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/2/8238d25862d032f6691170a880582e49fd6f3eab.png)

and the URL - [https://elastic.xxxxx.com](https://elastic.xxxxx.com):xxxx/app/enterprise\_search/workplace\_search/sources/added?error=invalid\_request&error\_description=missing+required+code+challenge

We could not find any successful or failed login attempts via the elastic app in SF logs.

please assist 🙂

Thank you,  
Noam

---

<div class="post-metadata">

**Author:** ![Artem\_Shelkovnikov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artem_shelkovnikov/32/134322_2.png) [@Artem\_Shelkovnikov](https://discuss.elastic.co/u/Artem_Shelkovnikov)\
**Post date:** [May 2, 2024, 4:23pm UTC](https://discuss.elastic.co/t/workplace-sf-connector-fail-unable-to-load-page/358664/2 "2024-05-02T16:23:09Z")

</div>

Hi Noam,

Can you give me some more context?

1. Are you getting redirected to Salesforce, enter your credentials there and get an error?
2. Which version of Enterprise Search are you running? Are you running on Elastic Cloud, or hosting the services yourself?
3. Did you set up your Salesforce OAuth App using the [official guide](https://www.elastic.co/guide/en/workplace-search/current/workplace-search-salesforce-connector.html)?

Best,  
Artem

---

<div class="post-metadata">

**Author:** ![Nokki123123](https://avatars.discourse-cdn.com/v4/letter/n/ea666f/32.png) [@Nokki123123](https://discuss.elastic.co/u/Nokki123123)\
**Post date:** [May 6, 2024, 9:02am UTC](https://discuss.elastic.co/t/workplace-sf-connector-fail-unable-to-load-page/358664/3 "2024-05-06T09:02:52Z")

</div>

Hi Artem,

We are hosting the services in our local server.

We walk through your guide but I found another [guide](https://www.elastic.co/guide/en/enterprise-search/current/connectors-salesforce.html#connectors-salesforce-native-connector-reference)  
what is the difference?

This our configuration in SF:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/3/83d58df3aaa779c9e8146685bb39e429adc52243.png)

Thank you  
Noam

---

<div class="post-metadata">

**Author:** ![Artem\_Shelkovnikov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artem_shelkovnikov/32/134322_2.png) [@Artem\_Shelkovnikov](https://discuss.elastic.co/u/Artem_Shelkovnikov)\
**Post date:** [May 6, 2024, 10:22am UTC](https://discuss.elastic.co/t/workplace-sf-connector-fail-unable-to-load-page/358664/4 "2024-05-06T10:22:19Z")

</div>

> [@Nokki123123](#):
>
> We walk through your guide but I found another [guide](https://www.elastic.co/guide/en/enterprise-search/current/connectors-salesforce.html#connectors-salesforce-native-connector-reference)  
> what is the difference?

The difference is that the guide that you've linked is for a different tool of ingestion - Connectors. They will also bring data from Salesforce to your deployment and is a recommended way to do so as Workplace Search is not being actively developed.

Maybe you can switch to using connectors and see if it works for you?

Returning back to your original problem, I see that the error that you get is `missing+required+code+challenge`. I see in your setup that you have "PKCE" enabled, you might need to turn it off to make the Workplace Search connector work. Alternatively, as mentioned above, you can try the [Salesforce Connector](https://www.elastic.co/guide/en/enterprise-search/current/connectors-salesforce.html#connectors-salesforce-native-connector-reference) hosted on your infrastructure outside of Enterprise Search deployment.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 3, 2024, 10:23am UTC](https://discuss.elastic.co/t/workplace-sf-connector-fail-unable-to-load-page/358664/5 "2024-06-03T10:23:03Z")

</div>

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