Forum Discussion
Error with iframe and embed code
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=eyJrIjoiODI0MzU0NDQtMmExYy00ZGY0LThhZDctMTU2MDYyODVhZTcwIiwidCI6IjE2M2Q1ZWIwLTYyMzAtNDQzMC04YTJmLTI3YjRhMGIyNmIzZCIsImMiOjZ9" frameborder="0"></iframe>
</body>
</html>