I am trying to sing a pdf obtained from converted docx document.
The sample code is this:
const string Sid = “sid”;
const string Key = “key”;
var destinationFileExtension = WordOutputFormat.Pdf;
var inputFilePath = @“C:\document.docx”;
var destinationFileName = “document-signed.pdf”;
var folder = “Conversions”;
new WordsService(Sid, Key).ConvertDocument(destinationFileExtension, Path.Combine(folder, destinationFileName), inputFilePath);
var signature = new PDFSignature { Date = DateTime.Now.ToString() };
new PDFService(Sid, Key).SignDocument(destinationFileName, folder, signature);
I get always the same error:
"Invalid Amazon S3 file path…"
Where is the error?
Thank you in advance