Problem type

Service is not ready

HTTP 500 ยท not_ready

What it means

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

What to do

The service is starting or a component it needs is not ready. Retry the same request after a short wait (Retry-After when present).

When the handler sets no more specific value, the response carries Retry-After: 5.

Should you retry?

The registry marks this problem retryable: the same request may succeed when sent again, without changes.

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
Retry-After: 5

{
  "errors": [
    {
      "status": 500,
      "code": "not_ready",
      "type": "https://screenrig.ai/problems/not-ready",
      "title": "Service is not ready",
      "detail": "What went wrong in this request.",
      "hint": "The service is starting or a component it needs is not ready. Retry the same request after a short wait (Retry-After when present).",
      "retryable": true
    }
  ],
  "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
Retry-After: 5

{
  "type": "https://screenrig.ai/problems/not-ready",
  "title": "Service is not ready",
  "status": 500,
  "detail": "What went wrong in this request.",
  "instance": "INSTANCE",
  "code": "not_ready",
  "request_id": "REQUEST_ID",
  "retryable": true,
  "action": "retry_backoff",
  "server_time": "2026-01-01T00:00:00Z",
  "errors": [],
  "hint": "The service is starting or a component it needs is not ready. Retry the same request after a short wait (Retry-After when present)."
}

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.

The corpus reloads every 15 minutes; before the first load the route answers 500 not_ready with Retry-After.

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

Codenot_ready
HTTP status500 Internal Server Error
Typehttps://screenrig.ai/problems/not-ready
Player actionretry_backoff
Retryableyes
Retry-After5 seconds