Skip to content

Troubleshooting the Salesforce Connector

If you encounter issues with your Salesforce connection in Nexadata, this guide will help you resolve the most common ones. Nexadata shows Salesforce’s own error messages as they are, so most fixes are a setting on the External Client App or a permission on the Salesforce user who signed in.

This guide is organized into four parts:

  1. Connecting to Salesforce

  2. Creating a Dataset from a Salesforce Object (SOQL)

  3. Creating a Dataset from a Salesforce Report

  4. Sending Data Back to Salesforce


Part 1: Issues with Connecting to Salesforce

Section titled “Part 1: Issues with Connecting to Salesforce”
  • My Domain URL shows “must be a .my.salesforce.com domain”

    • Cause: The URL was copied from the browser’s address bar. In Lightning Experience it ends in .lightning.force.com, which is the address of the Salesforce interface, not your My Domain.

    • Fix: Change .lightning.force.com to .my.salesforce.com, for example https://acme-dev-ed.my.salesforce.com, or copy the Current My Domain URL from Setup → My Domain in Salesforce.

  • Connect to Salesforce is grayed out

    • Cause: The Consumer key is missing, or the My Domain URL is not a valid https:// address.

    • Fix: Enter the Consumer key from the External Client App, and correct or clear the My Domain URL.

  • The Salesforce sign-in page shows “redirect_uri_mismatch”

    • Cause: The Callback URL on the External Client App does not exactly match the one Nexadata uses.

    • Fix: In Salesforce, set the app’s Callback URL to https://app.nexadata.com/salesforce/oauth/callback, wait a few minutes for the change to take effect, and click Connect to Salesforce again.

  • Sign-in fails right after the External Client App was created

    • Cause: A new External Client App can take up to 10 minutes to become available.

    • Fix: Wait a few minutes and click Connect to Salesforce again.

  • The sign-in tab shows “Invalid OAuth state. Please try connecting to Salesforce again.”

    • Cause: The sign-in took longer than 15 minutes, or it was started from an older Nexadata tab.

    • Fix: Close the tab and click Connect to Salesforce again from the connection form.

  • The user cannot sign in, or Salesforce reports that API access is not enabled

    • Cause: The user’s profile lacks API Enabled, or it has API Only User checked, which blocks the browser sign-in that Nexadata uses.

    • Fix: Give the user API Enabled through their profile or a permission set, and sign in with a user that can log in to Salesforce in a browser. See Setting up a Salesforce Connection.

  • A sandbox connection fails at sign-in

    • Cause: Some sandboxes accept sign-ins only at their own My Domain.

    • Fix: Enter the sandbox’s My Domain URL, for example https://acme--uat.sandbox.my.salesforce.com, and connect again.

  • The connection fails from Nexadata but works in Salesforce

    • Cause: The user’s profile has Login IP Ranges, and the External Client App enforces them. Nexadata connects from its own servers.

    • Fix: On the app’s Policies tab, set IP Relaxation to Relax IP restrictions.

  • “Salesforce authorization has expired. Re-authorize with Salesforce to continue.”

    • Cause: Salesforce stopped accepting the connection’s refresh token. This happens when the connection goes unused for 30 days, when an admin revokes access, or when the signing-in user is deactivated.

    • Fix: Open the connection, click Re-authorize with Salesforce, sign in, and click Submit. Datasets and outputs keep their settings.

  • “Your Consumer Key or Consumer Secret has changed. Re-authorize with Salesforce before verifying.”

    • Cause: The key or secret on the connection was edited, so the existing sign-in no longer applies.

    • Fix: Click Re-authorize with Salesforce, sign in, and click Submit.


Part 2: Issues with Creating a Dataset from a Salesforce Object (SOQL)

Section titled “Part 2: Issues with Creating a Dataset from a Salesforce Object (SOQL)”
  • An object or field is missing from the list

    • Cause: The signing-in user has no Read access to the object, or no field-level access to the field.

    • Fix: Grant the access through the user’s profile or a permission set, then reopen the dataset form.

  • Salesforce rejects a customized query

    • Cause: The query has a syntax error, or it uses field labels instead of API names, such as Close Date instead of CloseDate.

    • Fix: Use API names, check the query in the Salesforce Developer Console, or click Reset to Auto-Generated and customize again from there.

  • The dataset includes deleted records

    • Cause: Include soft delete is set to Yes, its default, which also reads records in the Recycle Bin.

    • Fix: Set Include soft delete to No, or add WHERE IsDeleted = false to a customized query.

  • Fields from a related object, such as Account.Name, are not in their own columns

    • Cause: In Real-time mode, fields from related objects are not split into columns.

    • Fix: Switch Extract mode to High-volume, or create a dataset on the related object and join the two in your Workflow.

  • A large extract is slow

    • Cause: Real-time mode reads records in batches through the REST API, which is slow for very large objects.

    • Fix: Switch Extract mode to High-volume, and filter the query to only the records you need.


Part 3: Issues with Creating a Dataset from a Salesforce Report

Section titled “Part 3: Issues with Creating a Dataset from a Salesforce Report”
  • The report is not in the Report list

    • Cause: The list shows only reports the signing-in user has recently viewed, and only reports in folders that user can see.

    • Fix: Open and run the report once in Salesforce as that user, then reopen the dataset form. If it is still missing, give the user access to the report’s folder.

  • Only 2,000 rows are read

    • Cause: Nexadata reads up to 2,000 rows from a report.

    • Fix: Narrow the report with filters, or create a SOQL dataset on the underlying object instead.

  • Amounts and dates arrive as text, such as $1,250.00

    • Cause: Reports return values as Salesforce displays them.

    • Fix: Convert the columns in your Workflow, or use a SOQL dataset to read the raw values.

  • The dataset has unexpected or missing columns

    • Cause: The columns come from the report itself.

    • Fix: Edit the report in Salesforce to add or remove columns. Use a tabular report, without groupings, for the cleanest result.


Part 4: Issues with Sending Data Back to Salesforce

Section titled “Part 4: Issues with Sending Data Back to Salesforce”
  • The run finishes as “Succeeded with warnings”

    • Cause: Salesforce rejected some rows and accepted the rest. The rejected rows are listed under Outputs with warnings with Salesforce’s reason for each, such as REQUIRED_FIELD_MISSING or INVALID_CROSS_REFERENCE_KEY.

    • Fix: Correct those rows in the Workflow or in Salesforce and run the Workflow again. With Insert, a rerun also creates the accepted records again, so rerun only the corrected rows.

  • REQUIRED_FIELD_MISSING

    • Cause: The object has a required field that is not mapped, or the mapped column is blank. Nexadata does not check required fields when you save the output.

    • Fix: Map a column to every required field, such as Last Name on a Contact, and make sure it has values.

  • INVALID_CROSS_REFERENCE_KEY or MALFORMED_ID

    • Cause: A field that points to another record, such as Owner ID or Account ID, received a name or other text instead of a Salesforce ID.

    • Fix: Map a column that holds the related record’s Salesforce ID, such as 005… for a user. Read the IDs into a dataset and join them in your Workflow if needed.

  • “Update operation requires a column mapped to Salesforce ‘Id’ field” or “Delete operation requires a column mapped to Salesforce ‘Id’ field”

    • Cause: No column is mapped to the object’s ID property.

    • Fix: Map the column that holds the record IDs to the ID property, which Salesforce labels after the object, such as Opportunity ID. Include Id in the dataset that reads the records.

  • “Update requires non-nil values in the column mapped to ‘Id’”

    • Cause: Some rows have a blank ID.

    • Fix: Filter out rows without an ID, or use Insert for new records.

  • “Bulk Upsert requires selecting an External ID field.”

    • Cause: Upsert matches records on an External ID field of the object, and none is set for the output.

    • Fix: Use Update for records that already exist and Insert for new ones, as separate outputs, until an External ID field is set for the output.

  • “Real-time mode supports a maximum of 2000 records per request.”

    • Cause: The output has more than 2,000 rows.

    • Fix: Switch Mode to High Volume.

  • “CSV file size exceeds 100MB Salesforce limit.”

    • Cause: In High Volume mode, one run can write up to 100 MB.

    • Fix: Split the output into smaller outputs, for example by region or period, or map only the columns you need.

  • A field was not cleared

    • Cause: Nexadata skips blank values, so a blank cell leaves the Salesforce field as it is.

    • Fix: Clear the field in Salesforce, or write a placeholder value your team agrees on.

  • Records are inserted twice

    • Cause: An Insert output was run more than once with the same data.

    • Fix: Use Update for records that already exist, and keep Insert for new records only.


  • Write to a sandbox first. Create a second connection to a sandbox and run new outputs against it before production.

  • Connect with a dedicated integration user. Its permissions then define exactly what Nexadata can read and write, and Salesforce shows it as Last Modified By on every record Nexadata changes.

  • Keep the connection in use. A connection that is unused for 30 days must be re-authorized.

  • Keep the newest API version. Use the highest API Version your org supports unless you have a reason to pin an older one.

  • Check API usage for large orgs. High-volume reads and writes count toward your org’s daily API limits. See Setup → Company Information → API Requests, Last 24 Hours in Salesforce.