What it means
The API answers with HTTP 400 Bad Request and the application/problem+json document below when the condition is Card layout is invalid. The document's type member is https://screenrig.ai/problems/card-layout-invalid, the address of this page, and its code member is card_layout_invalid.
What to do
errors[0].field names the layout, anchor, rect or layer. layout is required (full, free, center, corner, chip, strip); corner and chip take a corner anchor, strip an edge anchor, the rest none. GET /api/card-types lists the layouts a card allows. Except for free, omit rect and layer.
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_layout_invalid |
|---|---|
| HTTP status | 400 Bad Request |
| Type | https://screenrig.ai/problems/card-layout-invalid |
| Player action | none |