KNOWLEDGE BASE

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: 07 Nov 2017

Issue

When accessing embedded Tableau Online 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'.

Environment

  • Tableau Online 
  • Embedded Views
  • SAML

Resolution

Try the below options to resolve the problem. 

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

Option 2

Ensure that the URL used for embedding the view is from the Share option in Tableau Online:
  1. In Tableau Online, 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 Online URL in the browser address bar. 
Option 3
Work with your SAML identity provider to remove the X-Frame-Options header from their configuration. 

Cause

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?