cancel
Showing results for 
Search instead for 
Did you mean: 

Error "End of Central Directory record could not be found"

ISSUE
When uploading a file to a document package, the following error might occur:

End of Central Directory record could not be found
ERROR CODE
Type: 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
RESOLUTION
  • 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.

 

ADDITIONAL INFORMATION
Template has been corrupted.
RELATED LINKS
Version history
Revision #:
1 of 1
Last update:
‎11-20-2018 01:04 PM
Updated by: