What it means
The API answers with HTTP 412 Precondition Failed and the application/problem+json document below when the condition is Resource revision does not match. The document's type member is https://screenrig.ai/problems/revision-conflict, the address of this page, and its code member is revision_conflict.
What to do
The resource changed since you read it. Read it again, reapply your change, and retry with its current revision (current_revision when present) as the expected revision (If-Match / --expect-rev).
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 412 Precondition Failed
Content-Type: application/problem+json
{
"errors": [
{
"status": 412,
"code": "revision_conflict",
"type": "https://screenrig.ai/problems/revision-conflict",
"title": "Resource revision does not match",
"detail": "What went wrong in this request.",
"hint": "The resource changed since you read it. Read it again, reapply your change, and retry with its current revision (current_revision when present) as the expected revision (If-Match / --expect-rev)."
}
],
"instance": "INSTANCE",
"request_id": "REQUEST_ID",
"server_time": "2026-01-01T00:00:00Z",
"action": "hold_lkg"
}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/1.1 412 Precondition Failed
Content-Type: application/problem+json
{
"type": "https://screenrig.ai/problems/revision-conflict",
"title": "Resource revision does not match",
"status": 412,
"detail": "What went wrong in this request.",
"instance": "INSTANCE",
"code": "revision_conflict",
"request_id": "REQUEST_ID",
"action": "hold_lkg",
"server_time": "2026-01-01T00:00:00Z",
"errors": [],
"hint": "The resource changed since you read it. Read it again, reapply your change, and retry with its current revision (current_revision when present) as the expected revision (If-Match / --expect-rev)."
}Operations that name this problem
26 operations name this problem. These API reference groups hold them:
- Projects (3)
- Single sign-on (2)
- Media (3)
- Playlists (2)
- Screens (9)
- Campaigns (1)
- Advertising (2)
- Card data (2)
- Reports (1)
- Dashboard (1)
Player action
The Player action class is hold_lkg: Keep playing the last-known-good content and poll slowly.
Reference
| Code | revision_conflict |
|---|---|
| HTTP status | 412 Precondition Failed |
| Type | https://screenrig.ai/problems/revision-conflict |
| Player action | hold_lkg |