403 Forbidden error from rest api
We've been getting a 403 Forbidden error when trying to access our rest/api page. We have sitecore installed
I've confirmed that the config.yml for the search api is set to allowImpersonate: true, and that the application secret there matches what is in the rest.custom config file.
Looking at the coveo logs, once the problem started, requests have come in as: Authorization: Bearer [some guid]. When it was working, they'd come in with the appropriate application secret instead of this guid. I can't find any trace of the guid associated with the Bearer tag in showconfig.
The diagnostic page says the rest endpoint and search web service are down. I've verified the paths for our sitecore certificate are accurate, and that they match what is in the config files using the showconfig. When I hit the coveo rest endpoint from out sitecore box (we have sitecore on one box, CES and search API on another), I am able to access the page.
Any ideas what else I could try to get rid of this 403 error?
This could append if your Coveo for Sitecore is configured for an On-Premises setup, but is linked to a Cloud organization. Make sure you are correctly connected to an On-Premises organization by configuring the Coveo Cloud Organization via the Coveo Control Panel.