# Card media reference does not name a ready image

> Canonical HTML: https://screenrig.ai/problems/card-media-invalid/

HTTP 400 · `card_media_invalid`

## What it means

The API answers with HTTP 400 Bad Request and an `application/problem+json` document when the condition is Card media reference does not name a ready image. The document's `type` member is `https://screenrig.ai/problems/card-media-invalid`, the address of this page, and its `code` member is `card_media_invalid`.

## What to do

errors[0].field names a string that begins with media:, which a card reads as a media reference, and errors[0].media_id the media it names. Use media:<id> with the id of a ready image in this project (screenrig media list); card data may name only approved media. Text that is not a reference must not begin with media:.

## 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 | `card_media_invalid` |
| HTTP status | `400 Bad Request` |
| Type | `https://screenrig.ai/problems/card-media-invalid` |
| 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)
