We're sorry AsposeCloud doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.cloud

Convert PDF to Word in PHP using Aspose.PDF REST API throws timeout error

I have a large file that I am trying to convert from pdf to word, but multiple tries have always resulted in the error below. It has been successful with smaller files. The size of this particular pdf is 72.7 MB. I am using the PHP SDK.
An uncaught Exception was encountered

Type: Aspose\PDF\ApiException
Message: [504] Server error: PUT https://api.aspose.cloud/v3.0/pdf/Large.pdf/convert/doc?outPath=Large.docx&format=DocX&storage=docx resulted in a 504 Gateway Time-out response


We will appreciate it if you please share your sample input document via some file sharing service. We need to replicate the issue at our end for investigation.

I created a public bucket on s3. Here is a link to the file https://ssc-public-test.s3.us-west-1.amazonaws.com/Large.pdf Let me know if that doesn’t work.


Thanks for sharing the input document. We have reproduced the issue and logged a ticket PDFCLOUD-2212 for further investigation. We will notify you as soon the issue is resolved.