What it means
The API answers with HTTP 410 Gone and the application/problem+json document below when the condition is Screen recovery offer has expired. The document's type member is https://screenrig.ai/problems/recovery-expired, the address of this page, and its code member is recovery_expired.
What to do
The recovery offer lapsed. Pair the device again so the screen receives a new recovery offer, then run screen recover.
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/1.1 410 Gone
Content-Type: application/problem+json
{
"errors": [
{
"status": 410,
"code": "recovery_expired",
"type": "https://screenrig.ai/problems/recovery-expired",
"title": "Screen recovery offer has expired",
"detail": "What went wrong in this request.",
"hint": "The recovery offer lapsed. Pair the device again so the screen receives a new recovery offer, then run screen recover."
}
],
"instance": "INSTANCE",
"request_id": "REQUEST_ID",
"server_time": "2026-01-01T00:00:00Z"
}In the API contract
The OpenAPI contract describes this problem in these words:
Emits screen.recovered (details.previous_device_screen_id). recovery_not_offered when nothing is pending, recovery_expired when the pairing session lapsed, recovery_ambiguous when the identifier is attached in more than one place. Problem responses never echo device identifiers.
Operations that name this problem
These operations name this problem in the API reference:
- Confirm Screen Recovery
POST /api/screens/{id}/recovery/confirm
Player action
This problem defines no Player action class. It belongs to a project, pairing or account flow that an agent or the dashboard drives.
Reference
| Code | recovery_expired |
|---|---|
| HTTP status | 410 Gone |
| Type | https://screenrig.ai/problems/recovery-expired |
| Player action | none |