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

# sk184107 - Proxy API "set" commands return a "404 not found" message

| Property | Value |
|----------|-------|
| Solution ID | sk184107 |
| Date Created | 2025-10-20 |
| Last Modified | 2025-10-21 |
| Technical Level | General |
| Products | Security Management Server |
| Versions | R81.20 |
| OS | Gaia |

## Symptoms

- * When using the Proxy API, `set` commands such as `set-static-route` fail and return a `404 Not Found message`.

* The response contains these errors:

  ```
  
   - "response-message" :
  
  { "code" : "err_validation_failed", "errors" : "address is required, mask-length is required, type is required", "message" : "Validation Error" }
  
   - { "code" : "err_gaia_api_send_command_failed", "message" : "Cannot send the command to the gateway: <Gateway ID< " }
  STATUS: 500
  ```

## Cause

When the Proxy API sent the request to the target Gateway, it removed necessary brackets from the raw data, causing the command validation to fail.

The log file `$FWDIR/log/api.elg` shows that the brackets were removed:
`payload = {'address': '1.2.3.0','mask-length': 24,'next-hop': 'add': `  
`'gateway':'<Gateway ID>','priority': 2,'type': 'gateway'}`

## Solution

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.

A Support Engineer will make sure the Hotfix is compatible with your environment before providing it.  
For faster resolution and verification, collect these files:

1. [CPinfo](https://support.checkpoint.com/results/sk/sk92739) file from the Management Server involved in the case.
2. [CPinfo](https://support.checkpoint.com/results/sk/sk92739) file from the Security Gateway / each Cluster Member / Security Group involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://support.checkpoint.com/results/sk/sk168597).

---

# 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
