Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hey! We're working on updating one of our applications that serves as a Find indexing job (we use it to populate our index with data). The application was running on .NET Framework 4.8 and referenced EPiServer.Find 13.3.0. We are upgrading to .NET 8 and now referencing EPiServer.Find 16.2.0. The project is a console application.
We're running into an issue when performing a search with the EPiServer Find Client class.
When running the following code:
We receive the following error:
And when we try the following:
We receive:
It seems that, when our object is indexed, the value for the HeaderImage property of type ContentReference is serialized into a JSON object as opposed to a JSON string. When we try to retrieve the object from the index and deserialize it, it throws the above error.
This was working just fine before we upgraded from Find 13.3.0.
Any idea as to why this is suddenly a problem, and whether or not there's a way around it? Appreciate any and all help!