Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I am getting access token and getting power bi groups and reports through access token. I am getting all the properties of report , but i am not able to embed on html. I am using angular2-powerbi npm package to embed the report in html .
I am getting errror as
reportEmbed.min.js:1 OPTIONS https://wabi-south-east-asia-redirect.analysis.windows.net/metadata/cluster 400 (Bad Request)
Failed to load https://wabi-south-east-asia-redirect.analysis.windows.net/metadata/cluster: Response for preflight has invalid HTTP status code 400.
what might be the cause and i am totally lost. Its critical ..Please help through this.
Thanks in advance.
Pallavi
Following up: I found for me it was tied to a default in the Embed class, where there's a hardcoded defaultEmbedHostName being set to "https://app.powerbi.com". When I modified the distribution js file as a test to set that default as "https://app.high.powerbigov.us", it worked fine.
https://learn.microsoft.com/en-us/javascript/api/overview/powerbi/bootstrap-better-performance
@PallaviKGVG did you ever find the cause to your issue? I'm running into a similar issue now using the npm powerbi-client JS module in the browser.
Thought of uploading error image but PHOTOS are not working to upload a file.