Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

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-Post/td-p/240574

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

Please help

2 Replies

  • consonus's avatar
    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

     

    • noahsdonaldson's avatar
      noahsdonaldson
      Frequent Visitor

      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?