Problem type

Database schema is incompatible

HTTP 500 ยท schema_incompatible

What it means

The API answers with HTTP 500 Internal Server Error and the application/problem+json document below when the condition is Database schema is incompatible. The document's type member is https://screenrig.ai/problems/schema-incompatible, the address of this page, and its code member is schema_incompatible.

What to do

The service is mid-upgrade and cannot serve this request. Retry later; the request cannot succeed until the upgrade completes.

Should you retry?

The registry marks this problem not retryable: sending the same request again does not help.

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 500 Internal Server Error
Content-Type: application/problem+json

{
  "errors": [
    {
      "status": 500,
      "code": "schema_incompatible",
      "type": "https://screenrig.ai/problems/schema-incompatible",
      "title": "Database schema is incompatible",
      "detail": "What went wrong in this request.",
      "hint": "The service is mid-upgrade and cannot serve this request. Retry later; the request cannot succeed until the upgrade completes.",
      "retryable": false
    }
  ],
  "instance": "INSTANCE",
  "request_id": "REQUEST_ID",
  "server_time": "2026-01-01T00:00:00Z",
  "action": "retry_backoff"
}

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 500 Internal Server Error
Content-Type: application/problem+json

{
  "type": "https://screenrig.ai/problems/schema-incompatible",
  "title": "Database schema is incompatible",
  "status": 500,
  "detail": "What went wrong in this request.",
  "instance": "INSTANCE",
  "code": "schema_incompatible",
  "request_id": "REQUEST_ID",
  "retryable": false,
  "action": "retry_backoff",
  "server_time": "2026-01-01T00:00:00Z",
  "errors": [],
  "hint": "The service is mid-upgrade and cannot serve this request. Retry later; the request cannot succeed until the upgrade completes."
}

In the API contract

The OpenAPI contract describes this problem in these words:

Serving readiness. A draining host answers 421 server_draining with Retry-After: 1. A required dependency failure answers 500 not_ready with Retry-After. A live database schema that does not satisfy this release (a desired index missing or different for more than two minutes) answers 500 schema_incompatible without Retry-After: it does not clear by waiting.

Operations that name this problem

These operations name this problem in the API reference:

Player action

The Player action class is retry_backoff: Retry the same request on the backoff schedule, never sooner than Retry-After.

Reference

Codeschema_incompatible
HTTP status500 Internal Server Error
Typehttps://screenrig.ai/problems/schema-incompatible
Player actionretry_backoff
Retryableno