---
page_type: error
code: 21240
message: "21240: Credential List Validation Error"
level: ERROR
---

## Description

One of the parameters passed when creating or updating a Credential List was incorrect.

### Possible Causes

- A Credential List with the same FriendlyName may already exist

- A Username was not provided. A Username must be provided and it must have 32 characters or less

- The password was not provided. A password is required that meets the following criteria:

  - Minimum 12 characters
  - At least one mixed case
  - At least one digit

### Possible Solutions

- Ensure that your Credential List meets the validation requirements.