Peak problem types
Home / homematch / password_outside_policy

The password does not meet the policy.

Code
password_outside_policy
Type
https://problems.peakintelligence.ch/homematch/password-outside-policy
Status
400 Bad Request
Audience
user. The person using the client can act on it. A client may show detail to them; it is worded in the request's language.
Service
homematch

Description

The password is missing or its length is outside the allowed range of 8 to 256 characters. Nothing was changed. Show the person the problem's detail, let them choose another password, and send the request again.

Example

HTTP/1.1 400 Bad Request
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/password-outside-policy",
  "title": "The password does not meet the policy.",
  "status": 400,
  "code": "password_outside_policy",
  "audience": "user",
  "traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}

A real answer also carries detail when there is something to say about this occurrence, and may carry errors or members of the type's own, which the service's OpenAPI document describes. When to ask again is the Retry-After header.

Declared by