Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Power Bi Embedded - 401 Authorization

We are using Power BI Embedded and reports are loading to app but on the console it's giving 401 error.
Like below:

 

https://wabi-paas-1-scus-redirect.analysis.windows.net/explore/explorations/767626/cache 401 (Unauthorized)

 

ERROR Error: Uncaught (in promise): Object: {"data":"","status":401,"activityId":"xxxxxx-xxxx-xxxx-xxxx-07e059c30510","requestId":"xxxxxx-xxxx-xxxx-xxxx-4cff3f5bf2a0","responseRequestId":null,"pendingRequestCount":0}reportEmbed.min.js:1
    at I (reportEmbed.min.js:1)
    at t.rejectInternal (reportEmbed.min.js:1)
    at t.reject (reportEmbed.min.js:1)
    at reportEmbed.min.js:1
    at reportembed.externals.bundle.min.js:800
    at m.$digest (reportembed.externals.bundle.min.js:811)
    at reportEmbed.min.js:1
    at t.invoke (reportEmbed.min.js:1)
    at Object.onInvoke (reportEmbed.min.js:1)
    at t.invoke (reportEmbed.min.js:1)



We have 22 days left for Pro trial so, I think problem is not about being Pro for now.


I found same reported issue: https://community.powerbi.com/t5/Developer/PowerBI-Report-Premium-Embed-Loads-mostly-but-also-has-a-...

I also asked here: https://community.powerbi.com/t5/Issues/401-Unauthorized-Power-BI-Embedded/idc-p/642572#M40273

Please help

2 REPLIES 2
consonus
Regular Visitor

We have the same problem now.

We had a App Registered for Development Envrionment

We registered a new application for Production Environment. We used the same settings/configurations that Development had. 

 

Embedding seems to be working fine in Production evnrionment except that if you look at the console we are getting the same 401 call to

 

https://wabi-paas-1-scus-redirect.analysis.windows.net/explore/explorations/.../cache

 

I am seeing the same 401 Cache error in the dev tools of Chrome.  I am trying to hunt down why each of my visuals is taking roughly 9 seconds to load.  They are simple visuals with a small amount of data yet they take on average 9 seconds to load.  I'm calling a different report page on a single report 6 times using a promise to stop them from loading at random times.  I also have my PBIE set to an A5.

 

Has anyone figured out the 401 cache error and could it be related to performance when the visuals are loading?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors