Coveo for Sitecore 5 is now available!

404 Errors on Coveo Usage Analytics Search Events

Coveo for Sitecore (September 2016)


Click and Custom analytics events are sent to Coveo Usage Analytics (Coveo UA), but Search events are returning a 404 error.


The Coveo for Sitecore Rest Analytics endpoint has a limited query string length value. If the URL length is higher than this value, it’s truncated and becomes no longer valid.


There are two ways to fix this issue:

  1. Upgrade at least to the September 2016 release of Coveo for Sitecore. This is the recommended option.

  2. Manually modify the web.config file:

    1. Navigate to the <sitecore instance>\Website\Coveo\rest folder and open the web.config file.

    2. Replace the content of the file with the following:

       <?xml version="1.0"?>
           <httpRuntime maxQueryStringLength="32768" maxUrlLength="32768" />
             <add name="CoveoSearchEndpoint" path="*" verb="*" type="Coveo.SearchProvider.Rest.SitecoreRestHttpHandlerDispatcher, Coveo.SearchProvider.Rest" />
               <requestLimits maxQueryString="32768" maxUrl="32768" />
Recommended Articles