Sorry, maybe I did not make myself clear. For my case we have excel document which is password protected and we don’t want to pass password here. We just want to get correct information why conversion was unsuccessful. Consider following code
string documentPath = @"D:\test.docx";
using (var converter = new GroupDocs.Conversion.Converter(documentPath))
var options = new GroupDocs.Conversion.Options.Convert.PdfConvertOptions();
catch (Exception ex)
if we pass .docx file (password protected) here, we get exception “Password is required to convert password protected document”.
However, when I pass xlsx file the exception looks like “xlsx” which says nothing particular. And using your website (https://products.groupdocs.app/conversion/total) produce same error.
I hope now it is more clear.