You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
The current code is using both a direct call of powerbi.embed() before the DOMContentLoaded event and an indirect call using powerbi.init() after DOMContentLoaded.
The second call through powerbi.init() will internally cause call to embedExisting since there is a report already embedded in the element which then requires the configuration to be passed explicitly. This defaults to an empty object which does not have an accessToken and this fails validation.
The text was updated successfully, but these errors were encountered:
In the EmbedSample
The current code is using both a direct call of powerbi.embed() before the DOMContentLoaded event and an indirect call using powerbi.init() after DOMContentLoaded.
The second call through powerbi.init() will internally cause call to embedExisting since there is a report already embedded in the element which then requires the configuration to be passed explicitly. This defaults to an empty object which does not have an accessToken and this fails validation.
The text was updated successfully, but these errors were encountered: