Problem type

The data source preview failed

HTTP 422 ยท source_test_failed

What it means

The API answers with HTTP 422 Unprocessable Content and the application/problem+json document below when the condition is The data source preview failed. The document's type member is https://screenrig.ai/problems/source-test-failed, the address of this page, and its code member is source_test_failed.

What to do

source_error.code says why the address could not be read or shaped, and source_error.message what to change. Fix that and test again; nothing was saved or written.

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
HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json

{
  "errors": [
    {
      "status": 422,
      "code": "source_test_failed",
      "type": "https://screenrig.ai/problems/source-test-failed",
      "title": "The data source preview failed",
      "detail": "What went wrong in this request.",
      "hint": "source_error.code says why the address could not be read or shaped, and source_error.message what to change. Fix that and test again; nothing was saved or written."
    }
  ],
  "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:

A fetch or shaping failure is source_test_failed with the fixed source_error. At most 30 previews a minute per organization.

Operations that name this problem

These operations name this problem in the API reference:

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

Codesource_test_failed
HTTP status422 Unprocessable Content
Typehttps://screenrig.ai/problems/source-test-failed
Player actionnone