Try our conversational search powered by Generative AI!

MapperParsingException when indexing variants

Vote:
 

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?

#200767
Jan 24, 2019 12:21
Vote:
 

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





#216149
Edited, Jan 28, 2020 1:48
Vote:
 

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.

#217528
Feb 25, 2020 9:06
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.