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

Document created by butlerj Support on Nov 20, 2018
Version 1Show Document
  • View in full screen mode
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

Attachments

    Outcomes