THIS IS ARCHIVED DOCUMENTATION

403 Forbidden Error When Calling YourSitecoreSite/coveo/rest

Description

When you browse https://<INSTANCE_HOSTNAME>/coveo/rest, you get a 403 Forbidden Error.

Explanation

The configuration files of the REST API don’t allow impersonation (see About 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 <SITECORE_INSTANCE_ROOT>\Website\App_Config\Include.