Peak problem types
Home / homematch / push_device_mismatch

Push registration from another device

Code
push_device_mismatch
Type
https://problems.peakintelligence.ch/homematch/push-device-mismatch
Status
400 Bad Request
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 X-Device-Id header is missing, malformed or names a different device than the one the session belongs to, so the registration was refused. This is a client defect: send the device id of the signed-in device and register again.

Example

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

{
  "type": "https://problems.peakintelligence.ch/homematch/push-device-mismatch",
  "title": "Push registration from another device",
  "status": 400,
  "code": "push_device_mismatch",
  "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