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

# sk148992 - "Error has occurred while applying the NAT settings (error 00358)" when configuring Server Objects on SMB appliances

| Property | Value |
|----------|-------|
| Solution ID | sk148992 |
| Date Created | 2019-04-04 |
| Last Modified | 2019-04-09 |
| Technical Level | General |
| Products | Spark Firewall (Locally Managed) |
| Versions | R82.00.X, R81.10.X |
| Platform | 910 |

## Symptoms

- * "Error has occurred while applying the NAT settings (error 00358)" error pops up in the WebUI when the user configures Server Objects. ![](https://sc1.checkpoint.com/sc//SolutionsStatics/sk148992/003581904040508.PNG)
* An error appears when the user executes the 'nat_configload' command: cpp: line 10, Error: Redefining defined variable "test_ip"  
  #define test_ip 1.1.1.1  
  1 error in preprocessor  
  Failed to run compiler command '"/opt/fw1/bin/fwc" -R 6569 6648 -t "/" "/opt/fw1/conf/NAT.pf" '  
  configload_mgmt_create_target_policy: configload_mgmt_compile failed  
  nat_configload: Unable to compile inspect code.  
  Unable to configure appliance:  
  Cannot generate configuration files..

  ![](https://sc1.checkpoint.com/sc//SolutionsStatics/sk148992/nat_configload11904040509.png)

  **Note:** One of the configured Server Objects is named 'test' and its IP is 1.1.1.1, as in the error.

## Cause

There are two configured Server Objects with 'Static NAT' or 'Hide Behind Gateway' settings, and with the same name, where only the style of letters is different (uppercase/lowercase), as shown in the image below:

![](https://sc1.checkpoint.com/sc/SolutionsStatics/sk148992/Server11904040505.PNG)

## Solution

This problem was fixed. The fix is included in:

* **[Check Point R77.20.86](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk144852&partition=General&product=Small "Check Point R77.20.86")**

Check Point recommends to always upgrade to the most recent version ([Check Point 700 appliance](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&product=460 "Check Point 700 appliance") / [Check Point 910 appliance](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&product=500 "Check Point 910 appliance") / [Check Point 1400 appliance](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&product=490 "Check Point 1400 appliance"))

**Note:** The version is only relevant for 700/910/1400 SMB appliances.

---

# 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
