Doc is null when using create document with no UI

Product Version:


Please give a brief summary of your issue:
(Think of this as an email subject)

doc is null after creatingdocument

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

I am always getting null for doc when I pass a file into createDocument. i dont see any errors in the console on createDocument

Not sure how to identify what the issues is
Following Get-file-data-without-viewer | Apryse Documentation

Code is

             Core.createDocument(file, { l: 'demo ,  extension : 'docx'})

.then(doc => {

doc.getFileData().then(data => {

      const arr = new Uint8Array(data);
      const blob = new Blob([arr], { type: 'application/pdf' });


.catch(err => { })

Please provide a link to a minimal sample where the issue is reproducible:

Thank you for posting the incident to our forum. We will provide you with an update as soon as possible.

I adjusted the worker path to resolve this