Forum Discussion
Tile embed disappears in 4-5 seconds
We are facing a strange issue in Power BI Embedded where the embedded tile just disappears after 4-5 seconds and comes back after referesh;
Here is a config;
{"tokenType":1,"accessToken":"<Token>",
"permissions":7,"id":"<TileID>","embedUrl":"<TileEmbed>","type":"tile",
"dashboardId":"<ID>"}"
We retrieve the embed token using Microsoft APIs. I can share that procedure if required.
Here is what happens (Sorry I cant embed this video since its not a you tube); https://dzwonsemrish7.cloudfront.net/items/2A3s0G0l0E0r1W2V021K/Screen%20Recording%202018-05-07%20at%2002.38.04.97%20PM.mp4
P.S.
- This error only occurs when we make a change in underlying report (which tile is referring) in PBI Desktop and publish.
- This error remains for nearly 1-2 minutes are making a change and publish and then disappears
- When I kept console ON, I realize the visual disappears after getting this error;
Failed to load resource: the server responded with a status of 401 (Unauthorized)
wabi-west-europe-redirect.analysis.windows.net/powerbi/metadata/models/<ID>/?modelOptions=Default&packageId=<ID>
Any help is appreciated!
1 Reply
- v-micsh-msftMicrosoft Employee
The messgae should mean the original tile content can't be found, which I think should be caused by the update.
By the way, how you generate the Embed Token?
The method for the Embed Token should be:
Which would require the Power BI AccessToken.
Just from the error message, it seems to be the generated token is not valided for the updated tile.
I will share the testing results from my side.
Regards,
Michael