Free Support Forum -

PDF to HTML conversion in C# using Aspose.PDF Cloud API issue with PDF file uploading


We are currently using the trial version of Aspose.PDF Cloud. We mainly intend to use it to convert documents from PDF to HTML.

We have a weird error when trying to upload the attached file. The file weight is 8.8 MB.

The error is consistent with this document, as we tried 5 times. We are only using 29 MB of our storage and still have 26 operations to use (out of 100).

Here is our code:

Folder folder = new Folder();

folder.UploadFile(path, “PDF”);

The problem is caused by the second line (UploadFile method), but we don’t have any useful information in the error message:

Unhandled Exception: System.Exception: {“Message”:“An error has occurred.”}

at Aspose.Cloud.Storage.Folder.UploadFile(String strFile, String strFolder) in d:\Testing\Cloud\DotNET\SDKs_Examples_Project_for_GitHub\AsposeCloud.SDK-for-.NET-master\AsposeCloud.SDK\Storage\Folder.cs:line 171

Upload works fine with the other 74 files that we tried to upload, except this one.

Do you have any idea what can be wrong?



Hi Matt,

Thanks for your inquiry. Please note trail(free) plan has 5MB max file size limitation. Please check third question in questions section of pricing page.

Please feel free to contact us for any further assistance.

Best Regards,
Thanks Tilal for your answer. This explains why we got this error.


Hi Matt,

Thanks for your feedback. It it good to know that shared information helped you.

Please keep using or API and feel free to contact us for any further assistance.

Best Regards,