Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have downloaded .xlsx file from SharePoint but if I am trying to read it through tFileInputExcel it throws below error-
Exception in component tFileInputExcel_2 (test11)
org.apache.poi.openxml4j.exceptions.NotOfficeXmlFileException: No valid entries or contents found, this is not a valid OOXML (Office Open XML) file
at org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:286)
at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:758)
at org.apache.poi.POIXMLDocument.openPackage(POIXMLDocument.java:90)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:336)
at local_project.test11_0_1.test11.tFileInputExcel_2Process(test11.java:1254)
To get URI in tFileFetch from SharePoint I have right-clicked on file and did "copy link". Let me know if more info is required.
Please note, I am also unable to open that Excel file manually by double-clicking, it says file format/extension is not valid or file is corrupted.
Regards,
Ravi
Hi Shong,
Yes, I am able to download it manually and it opened fine.
The problem comes only while downloading with Talend.
Sharing further details with you of tFileFetch and Excel components:
Excel:
Please note- I am not able to attach Talend downloaded excel herewith post as it throws an error- "The contents of the attachment doesn't match its file type".
Regards,
Ravi
Hi Shong,
Any idea on this, I am stuck.
Trying with trestclient as well but no luck.
Regards,
Ravi