Aspose.words claims DOCX file is corrupt although it is not

13874659 is not corrupt however.docx (104.5 KB)

I receive this error message when trying to extract the content of the attached file.
This file opens without problems using a licensed Word 2019 desktop software.
This is the second time it happens to us during the last two weeks.
We use Aspose.Words version 19.3.0

Please advise.
FileCorruptedException.jpg (12.3 KB)
13874659 is not corrupt however.docx (105 KB)

Sorry for the inconvenience. Could you please share what API method you are calling and what parameters are sent

Hi Yaroslaw,

Thank you for the email.
This is the line of code that makes the error -

Aspose.Words.Document doc = new Aspose.Words.Document(new MemoryStream(document.Data));

I attached the file so you can check it.

Thanks,
Idan

‫בתאריך יום ה׳, 18 ביולי 2024 ב-14:41 מאת ‪Yaroslaw Ekimov via Aspose Cloud‬‏ <‪forum@aspose.cloud‬‏>:‬

סופית סופית.docx (105 KB)

One more question, what product do you use? Aspose Words or Aspose Words Cloud?

Hi Yaroslaw,

We use Aspose Words

Thanks,
Idan

‫בתאריך יום ה׳, 18 ביולי 2024 ב-17:48 מאת ‪Yaroslaw Ekimov via Aspose Cloud‬‏ <‪forum@aspose.cloud‬‏>:‬

@Originality The problem is not reproducible using the latest 24.7 version of Aspose.Words. So please try using the latest version and let us know if the problem still persists on your side.