CRM update failed: CRM connection needs reconnecting
Updated
Applies to: Super Admins, Creators and Integrators, with Salesforce or HubSpot connected
A project automation couldn't update your CRM because OnRamp couldn't use its connection to it. In the project's Automations tab, under Logs, the Update Salesforce Field or Update Hubspot Field row has an X in Success. Payload shows the fields OnRamp tried to send. Error says the CRM session expired or isn't valid, or that the CRM refused OnRamp's sign-in.
Why it happens
OnRamp signs in to Salesforce or HubSpot through the integration on Settings > Integrations+. If that sign-in stops working, CRM updates fail until the integration is reconnected.
For Salesforce, the usual cause is a limit of 5 OnRamp connections per Salesforce user. Connecting a 6th disconnects the oldest. A deactivated Salesforce user also breaks the connection.
This article covers a connection OnRamp keeps signed in itself, whose Details tab has Refresh Data and Disconnect Integration. When the CRM refuses that connection, its Details tab shows Disconnected with a red message explaining the cause. Until then, it shows Enabled.
Some failures are temporary instead: the CRM's request limit was reached, or the request timed out or lost its connection. A token fetch failed message that says the token endpoint could not be reached is also temporary. You don't need to reconnect for these. Wait a while, and then repeat the event on the project.
Fix it
Only Super Admins and Integrators can disconnect an integration. Creators see only Refresh data on the Details tab, so if you're a Creator, ask a Super Admin or Integrator to do this.
Before you disconnect, know what it changes:
The links between your projects and their CRM records are always archived.
Keeping these on reconnect is available when it's turned on for your organization. If you don't see your links come back, contact your OnRamp team. With it on, the integration's CRM field mappings are also removed, and reconnecting to the same Salesforce org or HubSpot account brings back the links and field mappings. Nothing else the disconnect changed comes back.
Without it, OnRamp deletes the connection. CRM updates then fail until each project is linked to its CRM record again, as CRM update failed: no CRM record selected describes. The same happens if you connect a different CRM account.
To reconnect the integration:
Go to Settings > Integrations+.
Select your Salesforce or HubSpot integration. Its Details tab opens, with Refresh Data and Disconnect Integration. Check for Disconnected and the red message, which tells you to disconnect and reconnect the integration. For Salesforce, it also tells you to sign in as a different or active Salesforce user.
In the Disconnect row, select Disconnect Integration.
Select Confirm.
Connect the CRM again from Settings > Integrations+, as Connect Salesforce to OnRamp or Connect HubSpot to OnRamp describes. For Salesforce, sign in as an active user. Use a different Salesforce user, or first disconnect an OnRamp connection this user no longer needs.
If your links and field mappings didn't come back, link your projects to their CRM records again and recreate the field mappings.
Repeat the event on the project. Then, in Logs, select Refresh to see the new row.
If you sign in to Salesforce as a different user, that user needs the right Salesforce permissions. Set up Salesforce access for project automation workflows covers them.
If the disconnect fails
If Salesforce doesn't confirm that the connection was revoked, you see an error and the connection stays in place. Other problems show the error Could not disconnect the integration. Try again in a few minutes. If it keeps failing, contact support.
Still stuck?
Contact support with the project's name and link, the row's Timestamp, the text from Error, and which CRM the integration connects to. Include the status on the integration's Details tab and the text of its red message, and any error you saw when you disconnected.