Hi folks,
I debugged a little bit of the issue, and found where the error comes from:
The iframe of the embedded Power BI tile has an unhandled JavaScript error in the powerbivisualrenderer.js file. In the embeddingRenderTileById function it runs an AJAX get request to get the tile data, and its success event handler is run - so far so good. The result of the request is a JSON object, which is parsed and sent to the renderTitles function. This function parses the configuration data of the tiles, and throws an unhandled exception as the config property of the tile object is undefined.
So I took a look at this object and found that quite a few important properties are missing for those tiles, which fail to get rendered:
config
tileDataBinaryBase64Encoded
tileDataUpdatedTime
Here is a screeen shot from the developer toolbar from another request, when the tile was successfully loaded. When it fails, the highlighted items are missing. Then the PBI code attempts to use them and obviously it throws an error.
Image may be NSFW.
Clik here to view.
So no error is thrown by Power BI, but an unhandled JavaScript exception is thrown. The data of the tile is not returned by the REST API call. I'm puzzled. It seems to be a bug in Power BI.
Any idea?