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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
keerthanabasa
Regular Visitor

Load React component with workers inside power BI - Failed to execute 'fetch' on 'WorkerGlobalScope'

Followed the solution in using worker.js as BLOB in react component in a visual.
https://community.fabric.microsoft.com/t5/Desktop/Load-React-component-inside-power-BI-Failed-to-con...


But faing the following error:
blob:null/ Uncaught (in promise) TypeError: Failed to execute 'fetch' on 'WorkerGlobalScope': Failed to parse URL from worker.wasm at instantiateAsync at createWasm.
Any possible fixes to resolve this?

1 ACCEPTED SOLUTION
Thomaslleblanc
Super User
Super User

The blob worker has no meaningful base URL; fetch('worker.wasm') is relative and cannot be resolved. That’s exactly the “Failed to parse URL from worker.wasm” you see. The fix is to either remove the fetch (instantiate from bytes) or give the worker a real absolute URL to the wasm.

View solution in original post

3 REPLIES 3
v-saisrao-msft
Community Support
Community Support

Hi @keerthanabasa,

Checking in to see if your issue has been resolved. let us know if you still need any assistance.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @keerthanabasa,

Have you had a chance to review the solution we shared by @Thomaslleblanc? If the issue persists, feel free to reply so we can help further.

 

Thank you.

Thomaslleblanc
Super User
Super User

The blob worker has no meaningful base URL; fetch('worker.wasm') is relative and cannot be resolved. That’s exactly the “Failed to parse URL from worker.wasm” you see. The fix is to either remove the fetch (instantiate from bytes) or give the worker a real absolute URL to the wasm.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.