Peak problem types
Home / homematch / code_expired

Code expired

Code
code_expired
Type
https://problems.peakintelligence.ch/homematch/code-expired
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 code was correct but is no longer valid because its time ran out. Request a new code, and let the person enter that one. Show the person the problem's detail.

Example

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

{
  "type": "https://problems.peakintelligence.ch/homematch/code-expired",
  "title": "Code expired",
  "status": 400,
  "code": "code_expired",
  "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