You can get this error message when you open an archived file. This implies that 7 Zip is unable to open the file header either from the end or the start of the archive. In this case, use hex editor to start and end the header.