Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
HI,
I'm receiving an error below:
ERROR Error: Uncaught (in promise): Object: {"message":"LoadReportFailed","detailedMessage":"Fail to initialize - Could not resolve cluster","errorCode":"403","level":6,"technicalDetails":{"requestId":"c1bc94a6-42e8-3636-58c5-c8b52f6f4918"}} at A (reportEmbed.min.js:1) at A (reportEmbed.min.js:1) at reportEmbed.min.js:1 at e.invokeTask (reportEmbed.min.js:1) at Object.onInvokeTask (reportEmbed.min.js:1) at e.invokeTask (reportEmbed.min.js:1) at t.runTask (reportEmbed.min.js:1) at g (reportEmbed.min.js:1) at t.invokeTask (reportEmbed.min.js:1) at i.useG.invoke (reportEmbed.min.js:1)
And the response from server is 403 for https://wabi-east-asia-a-primary-redirect.analysis.windows.net/metadata/cluster
here is my code:
window.onload = function () { // Read embed application token from Model var accessToken = txtAccessToken; // Read embed URL from Model var embedUrl = "https://app.powerbi.com/reportEmbed"; //var embedUrl = "https://app.powerbi.com/reportEmbed?groupId=2f0da47c-9575-42b2-9f63-e524c60fae8b"; // Read dashboard Id from Model var embedReportId = "3c0f8978-b88e-4c6f-a771-ea4ad795c027"; var embedDashboardId = "c7149d1b-3238-4068-bd72-9dac6d9aa214"; // Get models. models contains enums that can be used. var models = window['powerbi-client'].models; var config = { type: 'report', tokenType: models.TokenType.Aad, accessToken: accessToken, embedUrl: embedUrl, viewMode: models.ViewMode.View, permissions: models.Permissions.All, id: embedReportId, }; // Get a reference to the embedded dashboard HTML element var reportContainer = $('#reportContainer')[0] ; // Embed the dashboard and display it within the div container. var report = powerbi.embed(reportContainer, config); }
Please help
Hello,
Can anyone please help me with this issue.
Nhan.
I am facing the same issue, tripple check my toiken id, report id yet keep getting this error.... 😞
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
22 | |
2 | |
2 | |
2 | |
2 |