Cannot access Content Recommendation from CMS

  • Updated
Description

Some customers found they cannot get into Content Recommendation portal from CMS. They got the console error as "Refused to frame 'https://...idio.episerver.net/', because an ancestor violates the following content security polity directions: 'frame ancestors ''none'".

C004.JPG

Steps

1. Checking the url of the portal. It should be like https://....idio.episerver.net/abc/content/dashboard

abc is the client name. 

2. Check the content recommendation configurations

For CMS 11, it is in the web.config

For CmS 12, it is in the appsetting.json

Like the below:

    "ContentPersonalization": {

      "Environment""...",

      "ClientId""...",

      "ClientName""abc",

      "ApiToken""..."

    }

3. Making sure the ClientName is exactly "abc" as showed in the portal url that will let you access content recommendation portal through CMS.