> Source: [sk129373](https://support.checkpoint.com/results/sk/sk129373)

# sk129373 - "Content Awareness - Error while processing 'file name' failed to extract test (2)" error when downloading files

| Property | Value |
|----------|-------|
| Solution ID | sk129373 |
| Date Created | 2018-06-17 |
| Last Modified | 2018-10-11 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * log shows an error in Content Awareness blade while downloading files:

  ```
  
  Content Awareness - Error while processing 'file name' failed to extract test (2)
  ```

* Debug (FILEAPP + all) shows:  

  ```
  
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} mz_zip_read_local_dir_header: called;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} mz_zip_read_local_dir_header: zip is with data descriptor;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} mz_zip_read_local_dir_header: header size is 30+24+0=54;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} mz_zip_read_local_dir_header: "4\SharedApplicationData/" is a directory ;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} mz_zip_read_local_dir_header: directory with data-descriptor - the footer is stuck to the header so we read it ;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} [ERROR]: mz_zip_read_local_dir_header: non-zero value for directory: crc32: 1263534083, m_comp_size: 2055, m_uncomp_size: 131072;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} cpz_parser_parse: header check result: Invalid (0), magic = 0x4b50;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} [ERROR]: cpz_parser_parse: *read_header() returnedwith error;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} [WARNING]: cpz_msoffice_parser_parse: continue althow probably shoud not rc = -1, _busize = 0;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} fileapp_normalize_buffer: Returned normalizer with buf=ffff81002f869181, bufsize=1147 _file_opq ffffc200216b27b0, uuid=37;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} cpz_msoffice_handle_parse_result: called with _result -1;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} [WARNING]: cpz_msoffice_handle_parse_result: cpz malformed;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {parser} fileapp_parser_set_parser_error: called;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {parser} fileapp_parser_set_parser_error: error set to Normalizer Failure with sub type 0 ;
  ;[cpu_1];[fw4_0];1528448113:[SID: 00167] {normalize} cpz_msoffice_parser_destroy: ca
  ```

## Cause

The code does not handle zip files that include directory with data descriptor in a wrong way.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
