cancel
Showing results for 
Search instead for 
Did you mean: 
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
Microsoft
Microsoft

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
Resolver III
Resolver III

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
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps