The code below throws an exception that the remote file because non-existing local files and paths are treated as remote files.
Status Code: InternalServerError
Response: {"Code":5008,"Message":"Unable to access the file. Call failed with status code
500 (Internal Server Error). Remote file C:\file\not\exist\testa.pdf"}
var convertApi = new ConvertApi("secret");
var sourceFile = @"C:\file\not\exist\testa.pdf";
var sourceFile2 = @"C:\file\not\exist\TestFiles\test2.pdf";
var mergeTask = await convertApi.ConvertAsync("pdf", "merge",
new ConvertApiFileParam(sourceFile2),
new ConvertApiFileParam(sourceFile));
var saveFiles = await mergeTask.Files.First().SaveFileAsync(@"C:\Projects\_temp\result.pdf");
The code below throws an exception that the remote file because non-existing local files and paths are treated as remote files.