Hi,
I’ve been using the Aspose.Words API to convert DOCX files to HTML. Recently, I’ve noticed that the API sometimes takes an unusually long time (5–6 minutes) to process a document and then fails. When I retry with the same document and same authorization token, it eventually succeeds, but the behavior is inconsistent.
This issue has only started occurring recently, and I’d like to understand what might be causing these delays and failures. Could you please advise if this is a known issue, or if there are recommended steps I should take to troubleshoot?
Thanks in advance.
@prateekworkhack
Can you please provide the version of the Aspose.Words API you are using and any specific error messages you receive during the failures?
Do you use a method that uses storage? Or online, which is converting the file from the request?
We are using v4.0. Sometimes there was no response message, other times the size of response seems to be around 405 characters but we don’t have the message.
We upload the file to s3, then downloads it, saves it locally (temporarily), then read it and sends the ‘bytes’ to words/convert
endpoint with loadFormat='html'
.
Also it used to work just fine, but from last few days we’re facing this issue.
Please share your client ID, and I will check the logs for more information. Meanwhile, you can try that method
So you directly pass the file to api method without uploading to storage, and the result file is returned in the body