SalesForce update map returning the message ‘No record was found to update.’

A quick article to assist in resolving a common error message when creating a map to SalesForce.

First, we should address how SmartConnect sends data to SalesForce. SmartConnect connects to SalesForce using the SOAP API. For every record SmartConnect makes two calls to the web service. The first call is a SOQL query to check if the record exists, and the second call will create or update the record.

The SOQL Query

SmartConnect will run a query in SalesForce to return the Id of any existing records. The query will search using one of two logics. The first option, is a query with a where clause for each record used in the grouping of the destination. The second option is a query with a where clause using an External Id field.

*Note that if you map a field that is setup in SalesForce as an External Id, that field will be used in the lookup, and not the fields used in the grouping.

Trailing Spaces

We commonly see an issue with trailing spaces when the data source is GP. GP will put trailing spaces into fields which will cause a mismatch when mapping to SalesForce.

The workaround is to use a trim in your data source such as the following.


Case Sensitivity

SalesForce Ids are case sensitive, so if you have saved the SalesForce Id to another system, make sure it has not changed the case.

External Id

If the issue isn’t one of the other two, then it is likely you have mapped a field that is setup in SalesForce as an External Id. Check in SalesForce to verify if there are any External Id fields on that object.


RM Apply Detail SmartList Builder Template
The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement
GlobalFileName not populated when using in a script
Wrong Date in Dynamics CRM/D365 for Customer Engagement Data Source
NAV 2017 Error: Data object not provided


Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
Manufacturing Serial Trace SmartList Builder Template
The server process could not be started because the configured identity is incorrect.
How to update SmartConnect from to SmartConnect 2014
Running a map in SmartConnect and receiving an error that says "The source was not found, but some or all event logs could not be searched."



open all | close all


CRM Demo Dynamics Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News eOne Spotlight ERP Events Excel Excel Report Builder Extender Flexicoder GP GPUG integration integration manager Meet the Team Microsoft Microsoft dynamics crm Microsoft Dynamics GP Office Relationships partners release SalesForce scripting SmartConnect SmartConnect Office Hours SmartList SmartList Builder SmartList Designer SmartView SQL Support Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.