Do you have an issue with a specific file(s)? Yes .txt
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? Yes
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? Maybe
Is your issue related to annotations? No
Please give a brief summary of your issue:
Error loading document. cant load empty file .txt
Please describe your issue and provide steps to reproduce it:
I cant open empty file .txt but if its not empty file can be loaded
I cannot attached the file that i already created through the website because it says 0 bytes, the method i used for creating the txt file is Buffer.alloc(0), assuming it’s an empty file, so is there any other method for creating the file or its sufficient to just used the buffer allocation?
It may be expected that WebViewer cannot display zero-byte files. Zero-byte text file essentially means that the file is empty and contains no data to display or render. I was able to create one and display the same error.
Is there a specific workflow where you need to open this type of file?