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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Ammarb
Frequent Visitor

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 7
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. 

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

nickyvv
Most Valuable Professional
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?


Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


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
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

@AnonymousThe API permissions are already granted as below s.JPG

 

Anonymous
Not applicable

Hi @Ammarb,

If your scenario suitable all prerequisites and still not works, it should related to backend verify requests. I'd like to suggest you open a support ticket for further support.

submit a support ticketsubmit a support ticket

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors