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

# sk174343 - Importing a package using the Gaia portal fails with an error: "Invalid file type"

| Property | Value |
|----------|-------|
| Solution ID | sk174343 |
| Date Created | 2021-07-08 |
| Last Modified | 2021-07-12 |
| Technical Level | Advanced |
| Products | Other |
| Versions | Not Version-Specific |
| OS | Gaia |

## Symptoms

- * Importing a package using the Gaia portal fails with an error: "Invalid file type"
* Importing a package using CLISH fails:   
  `
  Result: Import of package fw1_wrapper_HOTFIX_R80_40_JHF_T91_986_MAIN_GA_FULL.TGZ Failed `  
  `
  Cannot import package fw1_wrapper_HOTFIX_R80_40_JHF_T91_986_MAIN_GA_FULL.TGZ. It is not a valid CPUSE package. `  
  `
  Supported extensions are: .tgz, .tar, .gz`  
  `
  ` ![](https://sc1.checkpoint.com/sc/SolutionsStatics/NEW_SK_NOID1625465995709/Import_TGZ202107050937561.jpg)

## Cause

**The embedded file verification mechanism is case sensitive.**   
If the file extension is changed, and is no longer a lower case .tgz / .tar / .gz, the import fails.  

**For example:**

Changing the file extension from **.tgz** to **.TGZ** causes the verification to fail, and consequently, the import fails, as well.  

<br />

## 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
