Peak problem types
Home / homematch / session_is_current

Session is the current one

Code
session_is_current
Type
https://problems.peakintelligence.ch/homematch/session-is-current
Status
409 Conflict
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 to sign out is the one making the request. Signing out the current session is a sign-out, not a device removal. This is a client defect: use the sign-out request for the current session.

Example

HTTP/1.1 409 Conflict
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/session-is-current",
  "title": "Session is the current one",
  "status": 409,
  "code": "session_is_current",
  "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