---
title: Password too long
summary: Code: passwordtoolong
section: errors
order: 64
---
# Password too long

Code: `password_too_long`

- HTTP status: 400 Bad Request
- OAuth `error`: `invalid_request`
- Shown to the end user: That password is too long.

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

## Cause

The password is more than 256 bytes, the ceiling that bounds the work of hashing it.

## Fix

Use at most 256 bytes (about 250 characters).

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