Added COMPRESSION_ERROR handling