--- title: "Troubleshooting Salesforce Connection Issues" slug: "troubleshooting-salesforce-connector-connection-issues" updated: 2026-10-19T19:52:27Z published: 2026-10-19T19:52:27Z canonical: "help.hginsights.com/troubleshooting-salesforce-connector-connection-issues" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.hginsights.com/llms.txt > Use this file to discover all available pages before exploring further. # Troubleshooting Salesforce Connection Issues ## Connecting or Updating the Salesforce Connection To connect or update your Salesforce connection within the HG Insights platform, navigate to the **Integrations** section from the left-hand sidebar of the HG Admin App: [https://admin.hginsights.com/](https://admin.hginsights.com/). Once there, click on **Salesforce** to access the integration page. ![](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/image(860).png?sv=2026-02-06&spr=https&st=2026-11-28T03%3A34%3A36Z&se=2026-11-28T04%3A34%3A36Z&sr=b&sp=r&sig=x6cCFYh80DFXoo7P2KCqcigB8jRE1FSpODoZK3i02Yg%3D) Here, you will find options to initiate a new connection or update an existing one. If you are updating, ensure you log out of any active Salesforce accounts to avoid connection issues. Follow the prompts to complete the OAuth authorization process, and you will be set to enhance your CRM capabilities with HG Insights data. ![](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/image(861).png?sv=2026-02-06&spr=https&st=2026-11-28T03%3A34%3A36Z&se=2026-11-28T04%3A34%3A36Z&sr=b&sp=r&sig=g4T4O%2FEGX%2BtlkB9kMHth9Vyr2xOkc2Up%2F%2FuLhefNN4g%3D) --- ## Connection requirements ### Confirm your integration user is correct The integration user is **the Salesforce user who authorizes the connection.** HGI’s RGI Platform syncs data using this user's permissions, so a **dedicated integration user** is recommended (the connection won't break if an employee leaves). ### Verify user permissions Ensure that the login credentials for both HG Insights and Salesforce are correct and have the necessary permissions for integration: - You should be an HG Insights platform admin user to be able to edit the Salesforce connection. Check it under Settings/Users & Teams - We recommend being a Salesforce Admin in the org you’re trying to connect to HG Insights, although we provide workaround steps [here](/v1/docs/connecting-salesforce-without-admin-privileges). Recent Salesforce security changes (effective September 2025) require connected apps to be **installed and approved by an admin** before non-admin users can authorize them. This is why the steps below depend on your setup. Once this is sorted, please try to connect again. ### Update your SFDC package to the latest version HG Insights regularly releases new package versions. We have 2 packages depending on your usecase. You can find the latest ones below: - [CRM Enrichment - Salesforce package](/v1/docs/crm-enrichment-salesforce-package) - [Sales Copilot & Scoring - How to connect Salesforce & install the Salesforce package](/v1/docs/madkudu-salesforce-package) --- ## Troubleshooting specific errors ### Login fails with “app must be installed into org” > [!NOTE] > Error related to the CRM enrichment connection only > > If you solely intend to use the Sales Copilot & Scoring connection, make sure you disconnect the existing CRM enrichment connection or check only the Sales Copilot & Scoring option when connection Salesforce. If you do need the CRM enrichment usecase, follow the steps below to resolve. ```plaintext We can't authorize you because of an OAuth error. error=invalid_client&error_description=app+must+be+installed+into+org ``` **Cause:** the connected app exists in the org but has never been installed, so Salesforce blocks every login attempt against it. Since Sept 2025 — Salesforce blocks OAuth for any connected app that isn't installed unless the user holds “Approve Uninstalled Connected Apps.” **Fix:** Install the app (HG RGI PLATFORM) into your org first, then try to connect again. The steps are [here](/v1/docs/crm-enrichment-salesforce-package). After installing, also confirm Permitted Users and relax any IP restrictions on the connected app, then verify the stored credential includes a refresh token ![](https://cdn.document360.io/a55e7ea5-b8ac-4456-874d-10cc92097370/Images/Documentation/image(885).png?sv=2026-02-06&spr=https&st=2026-11-28T03%3A34%3A36Z&se=2026-11-28T04%3A34%3A36Z&sr=b&sp=r&sig=Jafl2rh6psdnGvTyEv%2BIqsh3l0884%2Bz%2Boa0XLYlP9iY%3D) ### Login fails with “Access Restricted for API Only Users” **Cause:** the connecting user has the API Only User permission enabled, which blocks browser-based OAuth. **Fix:** Uncheck it on that user's profile/permission set There are additional steps you can go through to make sure your API-only user can connect: [API-only SFDC users - Troubleshooting Salesforce connection issues](/v1/docs/api-only-sfdc-users-troubleshooting-salesforce-connection-issues) If you still cannot connect using an API-only user, please do get in touch at customersupport@hginsights.com. As an immediate workaround, you can first connect SFDC using an admin user, then immediately update the connection to use the API)only user. ### Connection works right after login, then breaks after a few minutes or hours **Cause:** Your Salesforce org is likely blocking HG Insights' servers from renewing the connection in the background (a refresh-token IP restriction). See [Salesforce C onnection Security Requirements](/v1/docs/salesforce-connection-security-requirements) for why this control exists. **Fix:** Ask your Salesforce admin to relax the IP restriction on the connected app: - In Salesforce, go to **Setup → Apps → App Manager → Manage Connected Apps** (or **Connected Apps OAuth Usage**, depending on your org). - Find the **HG Insights** connected app and open **Edit Policies**. - Set **IP Relaxation** to **"Relax IP restrictions"**. If IP Relaxation is already set to "Relax IP restrictions" and the problem persists, please [contact Support](/docs/troubleshooting-salesforce-connector-connection-issues#need-assistance). ### "PKCE verifier expired. Please reconnect Salesforce" on the OAuth screen **Fix:** Refresh the page and restart the OAuth flow, completing it promptly. This is a time-limited security check — see [Salesforce Connection Security Requirements](/v1/docs/salesforce-connection-security-requirements) for details. --- ## Need Assistance? Reach out to Support at [customersupport@hginsights.com](http://customersupport@hginsights.com) or via our shared Slack channel if you have Slack support activated. Kindly include screenshots or screen recordings that illustrate where the process encounters issues for you. Providing specific error messages and URLs from the error page will assist us in resolving your problem quickly and can help prevent unnecessary exchanges.