When importing customizations you may encounter an error: The attribute map is invalid.

invaliddatamap

To fix this error and move on with your import:

  • Look at the following attributes in Lead, Account and Contact:
    • address1_line1
    • address1_line2
    • address1_line3
    • address2_line1
    • address2_line2
    • address2_line3
  • In your source attributes for Leads, the field size may not match the field size in your targets Account and Contact: nvarchar (200) versus nvarchar (50)
  • Modify either your source or your target attributes so the field sizes all match
  • You may need to re-do the mapping in the 1:N Relationship for Lead:Account and Lead:Contact
  • Publish changes, and import customizations again.