# The data source preview failed

> Canonical HTML: https://screenrig.ai/problems/source-test-failed

HTTP 422 · `source_test_failed`

## What it means

The API answers with HTTP 422 Unprocessable Content and an `application/problem+json` document 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.

## 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

| Field | Value |
| --- | --- |
| Code | `source_test_failed` |
| HTTP status | `422 Unprocessable Content` |
| Type | `https://screenrig.ai/problems/source-test-failed` |
| Player action | `none` |

- [All problem types](https://screenrig.ai/problems)
- [API reference](https://screenrig.ai/docs/api#problems)
- [Problem registry YAML](https://screenrig.ai/docs/api/problems.yaml)
