Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
asocorro
Skilled Sharer
Skilled Sharer

Error with iframe and embed code

 

When I try to use an embed code for a iframe, I get this error.  I have tried it for several reports:

 

ResourceNotFoundThe specified resource does not exist. RequestId:678ff441-0001-0031-6ccc-69ba30000000 Time:2016-02-17T21:45:45.3667903Z

 

The iframe tag I used was pasted from the powerbi site.

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro
3 REPLIES 3
mihart
Employee
Employee

Hi,

Can you share the embed code you are using?  

 

One tip that might help, if the iframe uses, for the source, "http"  change it to "https".

 

HTH,

Michele

 

The funny thing is that I get different codes depending on where I go.  I get one code from Manage Embed Codes and another from File->Publish to web when in View Mode for the report.  With the first I get the "resource not found" error and with the second the Power BI loading GIF appears but just stays there.  This is the source in my Test.html file:

 

<html>
<body>
<b>Congress Control (from Manage Embed Codes):</b><br/><br/>


<iframe width="400" height="300" src="http://app.blob.core.windows.net/embed/snapshotEmbedHost.html?embedId=eyJjdWx0dXJlSW5mbyI6ImVuIn0=" frameborder="0"></iframe>


<br/>


<b>Congress Control (from View Report->File->Publish to web):</b><br/>


<iframe width="400" height="300" src="http://app.powerbi.com/view?r=eyJrIjoiODI0MzU0NDQtMmExYy00ZGY0LThhZDctMTU2MDYyODVhZTcwIiwidCI6IjE2M2... frameborder="0"></iframe>

 

</body>
</html>

Connect with me in LinkedIn: https://pr.linkedin.com/in/adolfosocorro
Follow me on Twitter: https://twitter.com/AdolfoSocorro
luisrh
Responsive Resident
Responsive Resident

Are you using the API to get the list of dashboards/reports?   this is the way I currently get the embed codes for Iframes and it works as expected.   Cutting and pasting from PBI itself will not work.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors