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/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/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:
- Get Readiness
GET /.ready - Search the official documentation
GET /api/docs/search - Enroll CLI
POST /api/enrollments
Player action
The Player action class is retry_backoff: Retry the same request on the backoff schedule, never sooner than Retry-After.
Reference
| Code | not_ready |
|---|---|
| HTTP status | 500 Internal Server Error |
| Type | https://screenrig.ai/problems/not-ready |
| Player action | retry_backoff |
| Retryable | yes |
| Retry-After | 5 seconds |