Workato · Salesforce connector
Salesforce connection failed: action failed due to server error
Short answer
"action failed due to server error" appears when you click Connect on a Salesforce connection and it fails. Check the Sandbox field against your domain, your custom OAuth settings, your IP allowlist and whether Salesforce has blocked the Workato app.
VerifiedLast verified
01Error text
action failed due to server error02Likely causes
- The Sandbox field does not match the Salesforce domain.
- A custom OAuth profile's external client app settings do not match what Workato requires.
- Workato IP addresses are not in your allowlist.
- Salesforce blocks the Workato app.
03How to fix it
- Set Sandbox to Yes if the domain ends with
.sandbox.my.salesforce.com, or No if it ends with.my.salesforce.com. - If you use a custom OAuth profile, confirm the external client app's OAuth and security settings, including Flow Enablement and Security, match Workato's guide.
- Add Workato IP addresses to your allowlist.
- In Salesforce, go to Manage Apps > Connected Apps OAuth Usage and click Unblock next to the app name if it is blocked.
04Official documentation
→Related errors
- Salesforce connection disconnects repeatedly (Connection lost)A Salesforce connection that keeps showing "Connection lost" usually means Salesforce is not returning a refresh token. Grant the "Perform requests at any time" scope, then check the Refresh Token Policy and IP Relaxation settings.
- 401 UnauthorizedA 401 Unauthorized error in Workato means the external service rejected the authentication credentials sent with the request. Disconnect the app connection and reconnect it with valid, current credentials.
- Salesforce trigger failure: 414 URI Too LongA Salesforce trigger fails with 414 URI Too Long when it has too many fields selected, and the recipe stops processing jobs. Reduce the selected fields in the trigger configuration.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Workato work:Open Workato jobsWorkato rates and salariesHire a senior Workato developer