HTML to PDF conversion: unexpected exception for Dropbox Storage


#1

Hi!
The following snippet works fine with Aspose.Storage for Cloud, but I get an exception for DropBox Storage ‘Error calling PutCreateDocument: {“Message”:“DropBox exception: One or more errors occurred.”}’. It’s some strange because I see a converted file in Dropbox folder and this file is correct.

private static void TestHtml2Pdf()
    {
        //const string storageName = "First Storage";
        const string storageName = "Dropbox1";
        var item_Name = "demo01.html";
        Console.WriteLine(item_Name);
        var result = pdfApi.PutCreateDocument(
                name: item_Name.Replace("html","pdf"),
                templateFile: $"/Html-Demo/{item_Name}",
                folder: "/Html-Demo/",
                dataFile: "",
                templateType: "html",
                storage: storageName);
        Console.WriteLine(result.Status);
    }

#2

@Andruhovski

Thank you for contacting Aspose Support.

We are trying to reproduce the issue on our end and will share our findings with you shortly.


#3

@Andruhovski

We are able to reproduce the issue on our end and have logged the issue BILLING-3991 in our internal tracking software for our Platform team to fix the issue at the earliest. We will update you here as soon as the issue is fixed.