What it means
The API answers with HTTP 400 Bad Request and the application/problem+json document below 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
| Code | card_media_invalid |
|---|---|
| HTTP status | 400 Bad Request |
| Type | https://screenrig.ai/problems/card-media-invalid |
| Player action | none |