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);
}