Calling the GetPdfInStorageToXls API method, I am get the below error. I have verified that the file is uploaded properly to storage before calling GetPdfInStorageToXls. Please advise.
Error: GetPdfInStorageToXls. Parameters: name ‘Weekly.pdf’, folder ‘’, storage ‘PdfToExcelStorage’. Exception: Object reference not set to an instance of an object.
Edit: Rather than using the UploadFile API method, I manually uploaded the Weekly.pdf file to my storage account to make sure the correct file was uploaded properly. Same error when calling the GetPdfInStorageToXls method with the following code:
var convertedFileStream = pdfApi.GetPdfInStorageToXls("Weekly.pdf", folder: "");