Error " refused to connect" Or “The Google Maps Embed API must be used in an iframe” Embedding Google Maps As a Web Page Object

Published: 17 May 2019
Last Modified Date: 05 Aug 2020


When embedding google maps as a web object in workbooks, the following errors may occur: 
The Google Maps Embed API must be used in an iframe
When accessing a published version of the workbook, the below errors may occur: refused to connect

Refused to display '' in a frame because it set 'X-Frame-Options' to 'sameorigin'


  • Tableau Desktop
  • Tableau Server
  • Tableau Online
  • Google Maps


The Google servers are interpreting the dashboard holder that contains the URL for the Google map as a Frame within a site and therefore they are blocking the rendering of the map. 
Did this article resolve the issue?