Problem type

Player key was replaced and its grace window has closed

HTTP 401 ยท key_retired

What it means

The API answers with HTTP 401 Unauthorized and the application/problem+json document below when the condition is Player key was replaced and its grace window has closed. The document's type member is https://screenrig.ai/problems/key-retired, the address of this page, and its code member is key_retired.

What to do

An earlier recovery or replacement put another key on this key's screen. The Player keeps its identity and content until a reset on the device; after that reset it pairs again.

Should you retry?

The retryable member appears only on HTTP 5xx problems, so this one has none. Follow the steps under What to do before sending the request again.

Example response

Most routes answer with the error in the first entry of errors, and the document members instance and request_id beside it. The type, code, title and status of this problem type are fixed; detail varies per request, and hint is the registry default unless the handler sets a more specific one.

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

{
  "errors": [
    {
      "status": 401,
      "code": "key_retired",
      "type": "https://screenrig.ai/problems/key-retired",
      "title": "Player key was replaced and its grace window has closed",
      "detail": "What went wrong in this request.",
      "hint": "An earlier recovery or replacement put another key on this key's screen. The Player keeps its identity and content until a reset on the device; after that reset it pairs again."
    }
  ],
  "instance": "INSTANCE",
  "request_id": "REQUEST_ID",
  "server_time": "2026-01-01T00:00:00Z",
  "action": "repair"
}

Player-facing routes (the screen and media routes, the pairing streams and the probe routes) answer with the same members flat at the top level:

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

{
  "type": "https://screenrig.ai/problems/key-retired",
  "title": "Player key was replaced and its grace window has closed",
  "status": 401,
  "detail": "What went wrong in this request.",
  "instance": "INSTANCE",
  "code": "key_retired",
  "request_id": "REQUEST_ID",
  "action": "repair",
  "server_time": "2026-01-01T00:00:00Z",
  "errors": [],
  "hint": "An earlier recovery or replacement put another key on this key's screen. The Player keeps its identity and content until a reset on the device; after that reset it pairs again."
}

Player action

The Player action class is repair: Hold identity and content until an explicit on-device reset. The key is not deleted.

Reference

Codekey_retired
HTTP status401 Unauthorized
Typehttps://screenrig.ai/problems/key-retired
Player actionrepair