Couldn't fetch resource file.,WorkerError: Couldn't fetch resource file

WebViewer Version: 8.6.0

We are seeing customers occasionally get this issue. We are using WebViewer in our react codebase and when the customer tries to load a PDF file, it breaks. I’ve attached a screenshot of the console errors. We are seeing this across a few different customers a day.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi @john,

Based on the console error, it seems the WebViewer lib dependencies are not loading correctly. Are you able to share the network tab when this issue occurs? A HAR capture could also help pinpoint why the issue is happening.

Creating a HAR capture.

Could also be an issue with your user’s machine’s blocking the downloads, but a closer look at the network call should hopefully help us determine what is going on.

Best Regards,
Armando Bollain
Software Developer
PDFTron Systems, Inc.
www.pdftron.com