Posts

Showing posts from August, 2022

Multiple custom attributes of the same type found

Image
  Problem: When trying to identify the anonymous contact, Sitecore throws exception and unable to identify the contact. Tracking is enabled and xconnect is working fine. Below is the inner exception I am getting- InnerException": { "Message": "An error has occurred.", "ExceptionMessage": " Multiple custom attributes of the same type found .", "ExceptionType": "System.Reflection.AmbiguousMatchException", "StackTrace": " at  System.Attribute.GetCustomAttribute (Assembly element, Type attributeType, Boolean inherit)\r\n at System.Runtime.InteropServices.RuntimeInformation.get_FrameworkDescription()\r\n at Sitecore.Xdb.Collection.Data.SqlServer.Managers.ChangeTracking.SyncToken.AllowedTypesValidatorSerializationBinder..cctor()" } Solution: I raised this issue to Sitecore support. As per them this issue is because  the logic under the  ' Sitecore.Xdb.Collection..... AllowedTypesValidatorSerializationBin