Trying to convert an HTML to a docx file, but status is pending and download link is null

We are testing the HTML to docx conversion in our bubble.io app, but the response doesn’t have the file and status is only pending, we already tried to test it with postman, but still with the same response.
image.png (7,9 KB)

This is from bubble.io
image.png (10,3 KB)

Thanks in advance for helping!

@Denniedepennie

Can you please provide more details about the HTML content you are trying to convert and the specific API endpoint you are using for the conversion?

I’m trying to convert this https://d37a4082f90247cee3e29ad71e0de9d3.cdn.bubble.io/f1753126125409x595667696098921700/text.html and also a file in the internal storage of aspose
This is the endpoint that I’m using
https://api.aspose.cloud/v4.0/html/conversion/html-docx
body is
{
“InputPath”: “https://d37a4082f90247cee3e29ad71e0de9d3.cdn.bubble.io/f1753126125409x595667696098921700/text.html”,
“OutputFile”: “sample.docx”
}

Hi @Denniedepennie This is because you have used async conversion approach. This call only starts conversion. There are also calls to check result and to download the result when ready. If you’d like to call conversion in a sync way (ok for small files) just add /sync at the end of the request url: https://api.aspose.cloud/v4.0/html/conversion/html-docx/sync.
Here we describe Sync and Async approaches with examples: File Conversion – Aspose.HTML Cloud
Please let us know if something doesn’t work for you or if you have more questions

1 Like

Thank you very much for this reply, but sadly it’s not working, I used the endpoint that you posted"https://api.aspose.cloud/v4.0/html/conversion/html-docx/sync", but I’m having “Raw error for the API” “ESOCKETTIMEDOUT” error, thanks in advance!