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

# sk109634 - Local emulation fails with "Emulation ended with errors. Failed to process the file" error message

| Property | Value |
|----------|-------|
| Solution ID | sk109634 |
| Date Created | 2016-01-14 |
| Last Modified | 2019-09-08 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |
| Platform | TE |

## Symptoms

- * Local emulation fails with an error message in SmartView Tracker.
* SmartView Tracker error: "Emulation ended with errors. Failed to process the file".
* Tecli debug shows:

  ```
  
  [TE (TD::Surprise)] te::PolicyInvestigator::DoWork: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} Rule number X does not exist on the gateway. 
  Make sure the same policy is installed on both remote and sending gateways
  [TE_TRACE]: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} investigator 'policy' reporting back (status: error)
  [TE (TD::Surprise)] te::InvestigatorManager::ProcessReport: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} {policy} reported: error
  [TE (TD::Surprise)] te::InvestigatorManager::ProcessReport: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} setting global verdict to error (prepare phase error)
  ```

## Cause

Threat Emulation gateway does not recognize the rule number of 'sending' Security Gateway due to different policy.

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