ERROR

Embed code can only contain one "<iframe>"

Last Published: July 21, 2023

Error Message

Embedding a web application or web map in ArcGIS StoryMaps returns the following error:

Error:  
Embed code can only contain one "<iframe>"
Image displays the error returned.

Cause

  • There are multiple <iframe> tags found embedded in the HTML code.
  • The underlying source code of the <iframe> is referencing another <iframe> tag, which is also embedded.

Solution or Workaround

Identify the correct URL to be embedded. The following workflow describes how to locate a URL within an embedded hyperlink.

Note: 
The following embedded hyperlink is used for this example: http://video.esri.com/iframe/3623.
  1. Open the embedded link in a web browser.
Embedded URL used for example.
  1. At the embedded link page, open the web browser Developer Tools. The Developer Tools pane provides web authoring and debugging tools, which allows direct interaction with a web page. The links provided below explain how to open the developer tools in some of the most commonly used browsers.
  1. In the Developer Tools pane, identify the embedded URL. For this example, the unique identifier '3623' is used to identify the embedded hyperlink associated with the URL. For this example, the embedded hyperlink '//video.esri.com/embed/362/0000/width/480/0' is referencing another embedded hyperlink and not the actual URL.
User-added image
Note: 
Please search accordingly for the unique identifier, as it differs for every hyperlink. 
Note: 
If the actual URL is present in the embedded hyperlink, skip Steps 4 and 5 and proceed to Step 6.
  1. Open the embedded hyperlink in Step 3 in a web browser.
  2. Use the Find function in the web browser to identify the correct URL from the embedded link. The unique identifier from Step 3 can be used to determine this.
Image displays the correct URL for the video.
  1. Embed the correct URL in Story Maps. Refer to ArcGIS Blog: Embedding a Story Map within a Story Map for steps to embed a link in Story Maps.

Article ID:000014083

Software:
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options