Coveo Search REST Endpoint () - The remote server returned an error: (401) Unauthorized.
I got Coveo Enterprise installed, the Coveo Search API, and the Coveo package for Sitecore 8, everything seems to be in place but when I open Sitecore and go to Control Panel and select the option "Diagnostic Page" under Coveo Search, it list all components working and configure except this one: Coveo Search REST Endpoint ()
When I click to expand the details it gives me the following information:
The remote server returned an error: (401) Unauthorized. (Hide details) System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Coveo.SearchProvider.Applications.StateVerifier.<>c__DisplayClassd.<GetRestEndpointState>b__c() at Coveo.SearchProvider.Applications.BaseVerifier.VerifyComponent(Func`1 p_VerifyMethod, String p_ComponentName)
Did you rebuild your Coveo indexes at least once after installing the Coveo for Sitecore package in Sitecore 8? At the first indexing operation, Coveo for Sitecore will automatically configure the Coveo Search API.
Also, did you check the "This installation is part of a Sitecore Integration" check box while installing the Coveo Search API? This check box must be checked to configure the Coveo Search API in a particular way to work well with Coveo for Sitecore. If you forgot to check it, you may uninstall and reinstall it.