# Card layout is invalid

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

HTTP 400 · `card_layout_invalid`

## What it means

The API answers with HTTP 400 Bad Request and an `application/problem+json` document 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

| Field | Value |
| --- | --- |
| Code | `card_layout_invalid` |
| HTTP status | `400 Bad Request` |
| Type | `https://screenrig.ai/problems/card-layout-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)
