I have installed Sitecore Horizon in production. I cannot select the Main Site using the dropdown and getting the following error in console.
Uncaught (in promise): Require API Horizon mode. Current mode: Disabled. Ensure that the request URL contains 'sc_horizon=api' in the query string.
When I select any other site using the dropdown then it loads fine without any errors.
This is the request in the horizon log
Sending HTTP request "GET" https://prd-sc10.mirvac.com/sitecore/api/ssc/horizon/languages/?sc_horizon=api&sc_site=Main Site
I have reinstalled horizon a few times and checked all the configs but could not figure out any issue.
Any suggestions would be appreciated.
Thanks