Some test text!

Why is the viewer showing "Network Failure"?keyboard_arrow_down

Why is the viewer showing "Network Failure"?

This error likely means the initial document does not exist (we may have updated the SDK package). Try setting initialDoc to something like

  path: '../../../lib',
  initialDoc: ''
}, document.getElementById('viewer'))
.then(function(instance) {
  // load the PDF from URL, Blob, Filesystem or Base64 data

which is a demo document online, or to another local PDF file on your system within the root directory tree for the project.

Get the answers you need: Support


Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.