Peak problem types
Home / homematch / code_invalid

Code invalid

Code
code_invalid
Type
https://problems.peakintelligence.ch/homematch/code-invalid
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 entered is not the one sent for this purpose, was already used, or its attempts are spent. Let the person type it again, or request a new code if the detail says the attempts are used up.

Example

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

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