ISSUEWhen uploading a file to a document package, the following error might occur:
End of Central Directory record could not be found
ERROR CODEType: System.IO.InvalidDataException at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory() at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen) at System.IO.Compression.ZipArchive..ctor(Stream stream, ZipArchiveMode mode, Boolean leaveOpen, Encoding entryNameEncoding) at System.IO.Compression.ZipFile.Open(String archiveFileName, ZipArchiveMode mode, Encoding entryNameEncoding
- If using CipherCloud encryption gateway, upload the document directly into Salesforce and bypass the encryption.
- If uploading a document from SharePoint, or from another third-party site/program, download the file first, and then upload it into Salesforce.