.NET Aspose.CAD-Cloud 20.11.0
I try to convert the DWG file with a very simple code:
const string AppKey = "XXXXXX41cab3b9b9ffb4de6716b4ad";
const string AppSid = "XXXXXX-13d9-4f18-b32a-1d2eb61a98eb";
string inputFilePath = "d:\\input.dwg";
var dwgDocument = File.Open(inputFilePath, FileMode.Open, FileAccess.Read);
CadApi cadApi = new CadApi(AppKey, AppSid);
var result = cadApi.PostDrawingSaveAs(new PostDrawingSaveAsRequest(dwgDocument, "pdf"));
var fileStream = File.Create("d:\\output.pdf");
result.CopyTo(fileStream);
fileStream.Close();
But, receive exception “Aspose.CAD.Cloud.Sdk.ApiException: 'Internal Server Error”
Also, I try to use code from https://github.com/aspose-cad-cloud/aspose-cad-cloud-dotnet/blob/master/Examples/Aspose.CAD.Cloud.Sdk.Examples/CADExamples.cs example. But, with the same result.