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: 28 Feb 2020

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'.
 
Or
pod-online.tableau.com refused to connect

Environment

  • Tableau Online 
  • Embedded Views
  • SAML

Resolution

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 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 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. 

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?