Gravatar for mohit.dharma@gmail.com

Question by mohit264, Jun 13, 2017 7:52 AM

Sitecore Experience Editor Changing Coveo Search rules throws Error

I have added Coveo Search page and changed Search Rule. When I click save in Experience Editor, I am facing JSON Parsing issue.

Sitecore Environment :- Sitecore 8.2 Update 2

Coveo for Sitecore :- 4.0

ERROR After parsing a value an unexpected character was encountered: {. Path 'scLayout', line 2, position 14. Exception: Newtonsoft.Json.JsonReaderException Message: After parsing a value an unexpected character was encountered: {. Path 'scLayout', line 2, position 14. Source: Newtonsoft.Json at Newtonsoft.Json.JsonTextReader.ParsePostValue() at Newtonsoft.Json.JsonTextReader.ReadInternal() at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Sitecore.ExperienceEditor.Speak.Server.Requests.PipelineProcessorRequest`1.Process(RequestArgs requestArgs)

1 Reply
Gravatar for sbelzile@coveo.com

Answer by Sébastien Belzile, Jun 13, 2017 10:30 AM

That's a known Sitecore issue: https://developers.coveo.com/pages/releaseview.action?pageId=33587260.

Fixes and workaround in the article.

Ask a question