---
title: Known solutions for Salesforce
description: "Error Message: You're creating a duplicate record. We recommend you use an existing record instead. Error Message: Use one of this records? Solution: So you are trying to create an entry in Salesforce"
---

[Skip to content](https://portal.snapaddy.com/knowledge/known-solutions-for-salesforce#main-content)

- [English](https://portal.snapaddy.com/knowledge/known-solutions-for-salesforce)
- [Deutsch](https://portal.snapaddy.com/de/knowledge/bekannte-loesungen-fuer-salesforce)

English

Show submenu for translations

[![AppSignet](https://portal.snapaddy.com/hs-fs/hubfs/AppSignet.png?width=60&height=60&name=AppSignet.png)](https://portal.snapaddy.com/knowledge?hsLang=en)

Open main navigation

Close main navigation

- - [English](https://portal.snapaddy.com/knowledge/known-solutions-for-salesforce)
    - [Deutsch](https://portal.snapaddy.com/de/knowledge/bekannte-loesungen-fuer-salesforce)

  English
  
  Show submenu for translations
- [snapAddy website](https://www.snapaddy.com/)

[snapAddy website](https://www.snapaddy.com/)

 snapAddy Knowledge base - How can we help?

- There are no suggestions because the search field is empty.

1. [snapAddy Knowledge Base](https://portal.snapaddy.com/knowledge?hsLang=en)
2. [CRM Integrations](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en)
3. [Salesforce](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#salesforce)

# Known solutions for Salesforce

**Error Message: *You're creating a duplicate record. We recommend you use an existing record instead.*   
Error Message: *Use one of this records?***

- Solution: So you are trying to create an entry in Salesforce for which the Salesforce internal duplicate check found a duplicate. Depending on the settings, this duplicate may be in the Lead or Contact entity. In Salesforce, please check whether the contact already exists and, if necessary, update it instead of creating a new one.
  
    - [Duplicate Check Rules in Salesforce](https://help.salesforce.com/s/articleView?id=sf.duplicate_rules_map_of_reference.htm&type=5)
    - [Duplicate Rule Header](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/headers_duplicaterules.htm)

**Error Message: *\[{"name":"Error","message":"Required fields are missing: \[XY\]"}\]***

- Solution: According to the error message, the \[XY} field is a mandatory field in your Salesforce. Please check if any changes have been made in Salesforce recently and let us know if the [mapping](mailto:support@snapaddy.com) needs to be adjusted.

**Error Message: *\[{"name":"Error","message":"The MailingStateCode field contains \[XY\]. This is not an available state****.****}\]*** 

- Solution: Please contact your administrator. He will be able to add the state for you.

**Error Message**: ***There is a problem with this country, even if it may look correct. Please select a value for country/region from the list of valid countries***.

- Solution: Salesforce has different configurations for state and country. For example, Salesforce sometimes accepts all field entries, sometimes only ISO abbreviations, or only the correctly spelled states. Please try one of the above variants and if the problem still exists, please contact our [mapping](mailto:support@snapaddy.com) department.
  
    - [Error 'There's a problem with this country or state' on record save (Salesforce Helpdesk)](https://help.salesforce.com/s/articleView?id=000387137&type=1)

**Error message: *InvalidCrossReferenceID***

- That error means that the Salesforce Id used in a lookup or master-detail relationship field is not valid. Possible causes are:  
    - Wrong Object Type – The relationship field is being set to the Salesforce Id of the wrong object. For example, if field A is a lookup to the Account object, an opportunity Id can’t be used in this field.
    - Record Deleted – The record no longer exists. This can happen if someone deleted the record while a user or the system is inserting or updating records. It can also happen during a request when the record is initially inserted but then rolled back so the code still has a reference to the record with an id in memory but the record does not exist in the database.
    - Relationship Field Pointing To Wrong Object – This happens less frequently but is still a cause of this error. Sometimes, there are multiple objects in the system with the same name and a user chose the wrong object to have the lookup or master-detail point to. This happens because Salesforce will show the same object name without any further detail in the object list when defining the field so it’s not immediately clear which to choose.

**Error message:** ***ID Value of Incorrect Type***

- This means that an ID being sent to Salesforce is not the correct type that Salesforce is expecting.  
  For example, some fields in Salesforce can only accept certain ID types (e.g., Contact ID, Account ID, etc.).  If you map a value for an ID of a different type, you will see this error. Additionally, if you are mapping an ID twice within your connector, you might see this error as well.

**Error message: *INVALID\_FIELD No such column 'XYZ' on entity 'ABC'.*** 

- Solution: The field is either not correctly implemented or does not exist in Salesforce. Please check back with your administrator or our mapping department.

**Error message: *bad value for restricted picklist field***

- In Salesforce Classic, this error displays the affected Field (Related field: FieldName).
- In Lightning Experience, this error displays 'bad value for restricted picklist field: PicklistValue'
- Please see the following Salesforce Helpdesk article on how to resolve the error: 
    - [Error 'bad value for restricted picklist field' appears when a record is created](https://help.salesforce.com/s/articleView?id=000384095&type=1)

- [Global Settings](https://portal.snapaddy.com/knowledge/global-settings?hsLang=en#main-content)

    - [Frequently Asked Questions (FAQ)](https://portal.snapaddy.com/knowledge/global-settings?hsLang=en#frequently-asked-questions-faq)
    - [Profile Settings](https://portal.snapaddy.com/knowledge/global-settings?hsLang=en#profile-settings)
    - [User Management](https://portal.snapaddy.com/knowledge/global-settings?hsLang=en#user-management)
    - [General Settings](https://portal.snapaddy.com/knowledge/global-settings?hsLang=en#general-settings)
- [Video Tutorials](https://portal.snapaddy.com/knowledge/video-tutorials?hsLang=en#main-content)

    - [snapAddy VisitReport](https://portal.snapaddy.com/knowledge/video-tutorials?hsLang=en#snapaddy-visitreport)
    - [snapAddy LeadResearch](https://portal.snapaddy.com/knowledge/video-tutorials?hsLang=en#snapaddy-leadresearch)
    - [snapAddy BusinessCards](https://portal.snapaddy.com/knowledge/video-tutorials?hsLang=en#snapaddy-businesscards)
    - [snapAddy Quick Tips](https://portal.snapaddy.com/knowledge/video-tutorials?hsLang=en#snapaddy-quick-tips)
    - [CRM Integrations](https://portal.snapaddy.com/knowledge/video-tutorials?hsLang=en#crm-integrations)
- [CRM Integrations](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#main-content)

    - [Frequently Asked Questions (FAQ)](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#frequently-asked-questions-faq)
    - [CRM System integration (Mapping)](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#crm-system-integration-mapping)
    - [Salesforce](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#salesforce)
    - [MS Dynamics 365 CRM](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#ms-dynamics-365-crm)
    - [SAP Sales Cloud](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#sap-sales-cloud)
    - [HubSpot CRM](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#hubspot-crm)
    - [Pipedrive](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#pipedrive)
    - [Sugar CRM](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#sugar-crm)
    - [Suite CRM](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#suite-crm)
    - [SAGE CRM](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#sage-crm)
    - [Close CRM](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#close-crm)
    - [weclapp](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#weclapp)
    - [snapAddy API](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#snapaddy-api)
    - [Zapier](https://portal.snapaddy.com/knowledge/crm-integrations?hsLang=en#zapier)
- [snapAddy BusinessCards](https://portal.snapaddy.com/knowledge/snapaddy-businesscards?hsLang=en#main-content)

    - [Frequently asked questions (FAQ)](https://portal.snapaddy.com/knowledge/snapaddy-businesscards?hsLang=en#frequently-asked-questions-faq)
    - [First steps](https://portal.snapaddy.com/knowledge/snapaddy-businesscards?hsLang=en#first-steps)
    - [Export](https://portal.snapaddy.com/knowledge/snapaddy-businesscards?hsLang=en#export)
    - [Digital business cards](https://portal.snapaddy.com/knowledge/snapaddy-businesscards?hsLang=en#digital-business-cards)
    - [BusinessCards Quick Tips](https://portal.snapaddy.com/knowledge/snapaddy-businesscards?hsLang=en#businesscards-quick-tips)
- [snapAddy VisitReport](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#main-content)

    - [Frequently Asked Questions (FAQ)](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#frequently-asked-questions-faq)
    - [Working with the VisitReport app](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#working-with-the-visitreport-app)
    - [Working within the VisitReport Dashboard](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#working-within-the-visitreport-dashboard)
    - [Export (CRM, PDF, Excel ...)](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#export-crm-pdf-excel)
    - [Inventory Data](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#inventory-data)
    - [Video instructions](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#video-instructions)
    - [E-Mail Integration](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#e-mail-integration)
    - [Meetings](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#meetings)
    - [VisitReport Quick Tipps](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#visitreport-quick-tipps)
    - [Questionnaire](https://portal.snapaddy.com/knowledge/snapaddy-visitreport?hsLang=en#questionnaire)
- [snapAddy LeadResearch](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#main-content)

    - [Frequently Asked Questions (FAQ)](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#frequently-asked-questions-faq)
    - [Installation and Setup](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#installation-and-setup)
    - [Working with contact data](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#working-with-contact-data)
    - [Exporting the contact data](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#exporting-the-contact-data)
    - [LeadResearch in Chrome & Edge](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#leadresearch-in-chrome-edge)
    - [LeadResearch in your CRM System](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#leadresearch-in-your-crm-system)
    - [Technical requirements](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#technical-requirements)
    - [Microsoft 365 Integration (Outlook)](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#microsoft-365-integration-outlook)
    - [Automation](https://portal.snapaddy.com/knowledge/snapaddy-leadresearch?hsLang=en#automation)
- [snapAddy DataAgents](https://portal.snapaddy.com/knowledge/snapaddy-dataagents?hsLang=en#main-content)

    - [Frequently Asked Questions (FAQ)](https://portal.snapaddy.com/knowledge/snapaddy-dataagents?hsLang=en#frequently-asked-questions-faq)
    - [Installation and Setup](https://portal.snapaddy.com/knowledge/snapaddy-dataagents?hsLang=en#installation-and-setup)
    - [Workflows](https://portal.snapaddy.com/knowledge/snapaddy-dataagents?hsLang=en#workflows)
- [Data Enrichment](https://portal.snapaddy.com/knowledge/data-enrichment?hsLang=en)

[![sA Logo](https://portal.snapaddy.com/hs-fs/hubfs/sA%20Logo.png?width=120&height=29&name=sA%20Logo.png "sA Logo")](https://www.snapaddy.com)

Haugerkirchgasse 7  
97070 Würzburg  
Germany

[Legal notice](https://www.snapaddy.com/en/legal/imprint.html)

<https://linkedin.com/company/snapaddygmbh> <https://www.xing.com/companies/snapaddygmbh> <https://www.youtube.com/channel/UComiI_lYMqWGmC-dzU78pHw> <https://medium.com/snapaddy-tech-blog> <https://de-de.facebook.com/snapaddy/> <https://www.instagram.com/snapaddy/>

Copyright © 2025, snapAddy GmbH  
<https://www.snapaddy.com/en/legal/imprint.html>