Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
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.
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.
Regards,
Xiaoxin Sheng
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
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
Regards,
Xiaoxin Sheng
@AnonymousThe API permissions are already granted as below
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 ticket
Regards,
Xiaoxin Sheng
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.