Forum Discussion

Ammarb's avatar
Ammarb
Frequent Visitor
6 years ago

Embedding report error

Hello all ,

 

 I'm having a powerBi pro licence also , I'm in the middle of embedding report in my wordpress website so I've used this plugin https://wordpress.org/plugins/embed-power-bi/

 

also in testing with Microsoft Power BI Embedded Playground .. it's working

But I'm getting this error    DOMException: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': 'Bearer <br />

"....." is not a valid HTTP header field value. at setGETRequestHeaders

so how this could be solved ?

 

Thank you

7 Replies

  • nickyvv's avatar
    nickyvv
    Most Valuable Professional
    So it's not entirely clear from you question:
    - Are you using Power BI Embedded (with a E-SKU license)
    - Or are you Publishing to Web and then embedding in your site?
    • Ammarb's avatar
      Ammarb
      Frequent Visitor

      What do you mean by ( a E-SKU license)?

       

      I only have a Power BI Pro license and I've given permission inside the Azure Active Directory
      By creating a client secret ... etc

      not the second option

      • Anonymous's avatar
        Anonymous
        Not applicable

        HI Ammarb,

        According to your description, it seems like you only have a Pro license.

        AFAIK, power bi embedded feature requires a premium license and corresponding azure permissions. (for sample report you test on power bi playground, they are shared from a premium tenant with corresponding permissions and tokens )

        Embedded analytics with Power BI 

        What is Power BI Embedded? 

        Power BI Premium FAQ 

        Regards,

        Xiaoxin Sheng

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Ammarb,

    Have you tested your embed token and id on the playground or only test to embed the sample contents to WordPress?

    If this is a case, I'd like to suggest you check azure account and permission settings to confirm if you do not meet for prerequisites.

    power-bi-embedded wordpress 

    Regards,

    Xiaoxin Sheng

  • h4n1234's avatar
    h4n1234
    Frequent Visitor

    Hi - I am having the same issue. Only this is it works for 6 WordPress sites - I have built 2 more and I am getting the above message.