Experience Profile Contacts Error

Sitecore 9 issue faced when loading the Experience Profile screen:

[Sitecore Services]: HTTP GET
URL https://dev.local/sitecore/api/ao/v1/contacts/search?&pageSize=20&pageNumber=1&sort=visitCount desc&match=*&searchfromdatefilter=30%2F12%2F2018&searchtodatefilter=29%2F01%2F2019&searchchannelfilters=null&searchcampaignfilters=null&searchoutcomefilters=null&searchgoalfilters=null&searchprofilefilters=null&searchdevicefilters=null</pre>
Exception System.NullReferenceException: Object reference not set to an instance of an object.
at Sitecore.Cintel.Endpoint.Plumbing.NegotiateLanguageFilter.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
  • Ensure Newtonsoft.Json.dll version is same as vanilla sitecore package
  • Ensure SOLR path connection strings are formed correctly. For example,  they should not have hashes in:

Correct: 

<add name=”solrCore” connectionString=”https://localsolr:8984/solr/xp_xdb” />

Wrong:

<add name=”solrCore” connectionString=”https://localsolr:8984/solr/#/xp_xdb” />

XConnect\App_Config\ConnectionStrings.config
XConnect\App_Data\jobs\continuous\IndexWorker\App_config\ConnectionStrings.config

Leave a Reply

Your email address will not be published. Required fields are marked *