---
title: Password too short
summary: Code: passwordtooshort
section: errors
order: 65
---
# Password too short

Code: `password_too_short`

- HTTP status: 400 Bad Request
- OAuth `error`: `invalid_request`
- Shown to the end user: Use a longer password.

Request-specific detail for this error is safe to show to the person signing in.

## Cause

The password has fewer characters than the minimum: 15 when it is the only factor, 8 for an account with a second factor. Length is counted in characters after Unicode NFKC normalisation.

## Fix

Use a longer password; a few words make a good passphrase. Administrators creating users and the bootstrap operator (IDP_ADMIN_PASSWORD) need 15.

[All error codes](/errors/index.md)
