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

# sk182192 - Cannot add an IoC feed to the Security Gateway from the CLI 

| Property | Value |
|----------|-------|
| Solution ID | sk182192 |
| Date Created | 2024-04-09 |
| Last Modified | 2024-04-11 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * When you run this command on the Security Gateway:

  `[Expert@test-new:0]# ioc_feeds add --feed_name try_custom_csv --transport local_file --resource "/home/admin/iocs.csv" --format [type:4,value:5] --comment [#] --delimiter ,`

  The output is:

  `RuntimeError: Bad magic number in .pyc file`


* The issue is recurring and occurs with more frequency in version R80.40 with Jumbo Hotfix Take 198, and may also occur in higher versions.

## Cause

One or both of these files are corrupted or missing:  

* *ioc_feeds.pyc*
* *csv_converter.pyc*

<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
