Back

The entity with a name = ‘1’ was not found in the MetadataCache

Published: Dec 08, 2011
Post Author Written by Kevin Jones

When trying to import notes into CRM using SmartConnect, you receive the following error: The entity with a name = ‘1’ was not found in the MetadataCache.

This occurs when the Object Type attribute is incorrectly mapped in the entity mapping screen. In CRM the Object Type is a picklist, but the input that the attribute in the entity mapping screen wants is an Entity Name Reference. What needs to be mapped is the technical name of the entity that you want to import notes into. This can be found in CRM through the Settings – Customization – Customize Entities menu. The value to map to the Object Type in the entity mapping window would be the values found in the Name column in the CRM Customize Entities window. So if you were importing notes to a specific Account entity, you would map “account” to the Object Type.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.