SAP Knowledge Base Article - Public

2936140 - Error: "Refused to frame '<SAC Tenant URL>' because an ancestor violates the following Content Security Policy directive: "frame-ancestors *"." occurs when logging on SAC from iFrame

Symptom

  • Error: "Refused to frame '<SAC Tenant URL>' because an ancestor violates the following Content Security Policy directive: "frame-ancestors *"." occurs when logging on SAC from iFrame

Environment

  • SAP Analytics Cloud 2020.8

Reproducing the Issue

  1. Create a HTML file as follows:

<html>
<body>
<p>SAC Test</p>

<iframe
src="<SAC Tenant URL>"
width="90%"
height="400"
name="SAC">

</iframe>

</body>
</html>

  1. Open the HTML file to logon SAC.

Cause

Not set trusted origin or incorrect trusted origin configuration.

Resolution

Go to Main menu > System > Administration > App Integration, add your origin in Trusted Origins section.

See Also


Your feedback is important to help us improve our knowledge base.
Please rate how useful you found this article by using the star rating feature at the beginning of this article.
Thank you.

Keywords

Refused to frame, iFrame, Content Security Policy, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics , KBA , LOD-ANA-ADM , SAC Administration , Problem

Product

SAP Analytics Cloud 1.0