Coveo for Sitecore 5 is now available!

403 Forbidden Error When Calling YourSitecoreSite/coveo/rest

Description

When you browse [YourSitecoreInstance]/coveo/rest, you get a 403 Forbidden Error.

Explanation

The configuration files of the REST API do not allow impersonation (see Understanding the REST Endpoint Configuration Files).

Environment

  • Coveo for Sitecore 807+
  • Error Message
  • REST API Endpoint, REST API

Resolution

In the Program Files\Coveo Search API 8\config.yml file, set allowImpersonate to true.

Note

/coveo/rest is the address of the Coveo REST API Endpoint in Coveo for Sitecore. This endpoint is used by Coveo for Sitecore to communicate with the Coveo REST API.

The address can be modified in the <RestEndpointPath> node of the Coveo.SearchProvider.Rest.config file, located in [YourSitecoreInstance]\Website\App_Config\Include.