Blank Screen and Error "Refused to display '<URL of View>' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'" When Loading an Embedded View

Published: 12 Feb 2016
Last Modified Date: 08 Jul 2022


When accessing embedded Tableau Cloud views, a blank screen might display. 

The following error might also display in the web browsers developer console:  

Refused to display '<URL of View>' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
Or refused to connect


  • Tableau Cloud 
  • Embedded Views
  • SAML


Try the below options to resolve the problem. 

Option 1
Add the embed URL parameter to the URL address. See Writing Embed Code for more information. 

Option 2
Ensure that the user accessing the view has their authentication type set to SAML. See Set the User Authentication Type for more information.

Option 3

Ensure that the URL used for embedding the view is from the Share option in Tableau Cloud:
  1. In Tableau Cloud, navigate to the view encountering the problem. 
  2. Click the Share button. 
  3. Copy the URL link within the Link section. 
  4. Configure the embed code to use this URL rather than the Tableau Cloud URL in the browser address bar. 
Option 4
Enable Authenticate using an inline frame (less secure; not supported by all IdPs), and confirm that it is enabled with your IdP. See Step 6: Embedding options on Enable SAML Authentication on a Site for more information.

Option 5
Work with your SAML identity provider to remove the X-Frame-Options header from their configuration. 


Either the user accessing the view did not have their authentication type set correctly, or the URL used was not compatible with embed code. 
Did this article resolve the issue?