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

# sk176804 - Adding a user through the API with a password length of more than eight characters fails

| Property | Value |
|----------|-------|
| Solution ID | sk176804 |
| Date Created | 2021-12-16 |
| Last Modified | 2021-12-21 |
| Technical Level | General |
| Products | SmartConsole |
| Versions | R81 (EOS) |

## Symptoms

- Adding a user through the API with a password length of more than eight characters fails with this error:


`
code: "generic_error"
message: "Warning: User password length is more than 8 characters. Depending on the `  
`Gateway version and the Jumbo installed. Gateways versions before R81 might fail to `  
`authenticate this user. For more details, see sk176804."
`

## Solution

Run these commands on the Management machine:  

* In a Security Management Server environment:
  * `mgmt_cli -r true add user name <user name> authentication-method "check point password" password <password> ignore-warnings true`

<!-- -->

* In a Multi-Domain Server environment:
  * `mgmt_cli -r true add user name <user name> authentication-method "check point password" password <password> ignore-warnings true -d <local domain id>`

<br />

---

# 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
