Peak problem types
Home / homematch / access_token_invalid

Access token invalid

Code
access_token_invalid
Type
https://problems.peakintelligence.ch/homematch/access-token-invalid
Status
401 Unauthorized
Audience
client. Only the calling software can act on it. A client shows its own general failure and quotes traceId; detail is in English, for developers.
Service
homematch

Description

The access token is not one this API accepts: its signature does not verify, it is malformed, or its validity period has not begun. Refreshing will not help. Discard the token and the session it came from and send the person through sign-in again. A client that keeps producing this error has a defect in how it stores or sends the token.

Example

HTTP/1.1 401 Unauthorized
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/access-token-invalid",
  "title": "Access token invalid",
  "status": 401,
  "code": "access_token_invalid",
  "audience": "client",
  "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