AI OnAI Off
Hi Viktor
Hope you well.
Did you manage to get an answer or a fix for this?
EDITED: This error normally happens with the developer index. The fix is to just create a new developer index.
Regards
Farhad
Hi Viktor,
It sounds like it is trying to index the variant in two different ways, and hence, this error.
Do you have an example of the Price field from a successfully indexed variant, or do they all fail?
My current thinking is that perhaps the values in the Price field are nested, so, where you have variants with no prices, if that is null, it won't follow the same nested convention...
I could be wrong - but it might be worth looking into.
Keep getting these exceptions when running the indexer:
The job is running. - Indexing job [Global assets and other data] [content]: RD281878947839: An exception occurred while indexing (Content): MapperParsingException[object mapping for [ProductFeature_Models_WebVariant] with array for [Prices$$nested] tried to parse as array, but got EOF, is there a mismatch in types for the same field?].
The Prices member is added by IPricingExtensions in EPiServer.Find.Commerce so we do not control it.
Also some variants are missing prices. Can it be related to that?