Peak problem types
Home / homematch / session_ended

Session ended

Code
session_ended
Type
https://problems.peakintelligence.ch/homematch/session-ended
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 session the refresh token belongs to is over. It may have expired, been signed out or revoked, been replaced by a later refresh (a refresh token is used once), or lost the access it stood on. Do not retry the refresh. Clear the stored tokens and have the person sign in again.

Example

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

{
  "type": "https://problems.peakintelligence.ch/homematch/session-ended",
  "title": "Session ended",
  "status": 401,
  "code": "session_ended",
  "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