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.
Hello, I'm using app.powerbi.com in Chrome. I'm getting errors in the JS console telling me I can't access two font files (.woff and .ttf) because they have been blocked by a CORS policy (http://enable-cors.org/). The errors are annoying. Is anyone able to enable cross-origin resource sharing for the app version of power BI, so the errors go away (or suggest anything else)?
All I'm doing is using developer visual to create a custom visual, so I do think the problem is with powerBI. It happens even on the "Update Count: 0" template file.
Here's the error in full:
Access to Font at 'https://app.powerbi.com/13.0.1700.457/fonts/SegoeUI-Regular-final.woff' from origin 'https://app.powerbi.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
VM4351 visualSandbox?plugin=PBI_CV_850677FE_5345_400C_8E6A_15D8940CF2DE_DEBUG:1 Access to Font at 'https://app.powerbi.com/13.0.1700.457/fonts/SegoeUI-Regular-final.ttf' from origin 'https://app.powerbi.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
Hi Emma & joemensor,
I have already reported this issue and tried to involve someone more familiar with this topic to a further look at this issue. There might be sometime Delay regarding the job transferring. Your patience is greatly appreciated.
Thanks for your understanding and support.
Regards
Hi
Is there a update on this issue.
Thanks
Ven
Hi,
For anyone else that needs a work around here is what I have done. This now works:
I changed:
@font-face { font-family: 'Glyphicons Halflings'; src: url('../fonts/glyphicons-halflings-regular.eot'); src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); }
To:
@font-face { font-family: 'Glyphicons Halflings'; src: url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.eot'); src: url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.woff') format('woff'), url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); }
which points to the full url of the fonts.
Hope this help some.
Thanks
Ven
I have the same. What is actual status of this?
We also see this error. The errors we see on a daily basis with Power BI are frustrating to say the least.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.