I am working on a problem that I am having with EpiServer Find and EpiServer Content Delivery API. The 2 products seem to be in some way conflicted with each other. For reference, I am using Find version 13.2.2 and Content Delivery API version 2.6.1. I was able to install Content Delivery API successfully but for some reason one of my find instances is returing this error when trying to do Find.SearchExtensions.GetResult().
Newtonsoft.Json.JsonSerializationException: Error setting value in extension data for type 'EPiServer.ContentApi.Core.Serialization.Models.ContentApiModel'. Path 'hits.hits._source.ContentApiModel.category', line 1, position 26568. ---> System.ArgumentException: An item with the same key has already been added.
Does anyone have any suggestions about how to resolve this error?
Do you have any extension methods in play on any of your CatalogContent objects?
We did not. This issue was solved by removing Content Search API v 2.6.0 from the installation.