# 2203D — too_many_json_array_elements

> Source-backed reference for PostgreSQL SQLSTATE 2203D.
---

# 2203D

## At a glance {#at-a-glance}
The locked condition names an excessive number of JSON array elements. No fixed PostgreSQL 18.6 emitting path was resolved in the bounded scan.

<!-- BEGIN SQLSTATE FACTS: generated by scripts/generate.py; do not edit -->

| Field | Value |
| --- | --- |
| SQLSTATE | `2203D` |
| Condition | `too_many_json_array_elements` |
| Status | `active` |
| Known present by | `12.0` |
| Locked snapshots | `12.22, 13.23, 14.24, 15.19, 16.15, 17.11, 18.6, 19beta3` |
| Macros | `ERRCODE_TOO_MANY_JSON_ARRAY_ELEMENTS` |
| Aliases | `—` |

<!-- source facts: data/errcodes/2203D.json -->
<!-- END SQLSTATE FACTS -->

## Meaning {#meaning}
The definition identifies `too_many_json_array_elements`, but the bounded PostgreSQL 18.6 source review did not resolve a native 2203D emitter. This page records the condition identity and cardinality boundary without assigning a JSON_TABLE/SQL/JSON wrapper, primary text, DETAIL, or HINT.

## Diagnosis {#diagnosis}
Preserve the complete diagnostic and identify the actual emitting component and its element-count rule. Confirm from that operation whether it permits one item, multiple elements, or another documented cardinality; the condition name alone does not establish that a wrapper or aggregate exists or would repair it.

## Response {#response}
After identifying the actual emitter, follow that component's documented element-count rule and correct the input or cardinality accordingly. Do not presume that a wrapper or aggregate is available or that either would resolve this condition. If an ERROR occurred in an explicit transaction, roll back or roll back to the existing savepoint before retrying; autocommit can retry the corrected action.

## Versions {#versions}
The locked catalogue records this condition from 12.0. Only the PostgreSQL 18.6 definition row is fixed here; no native emitting path or natural runtime observation is claimed.

## Related {#related}
[`22034`](../22034/), [`22035`](../22035/), [`2203E`](../2203e/)

## Sources {#sources}
The fixed definition row is [`errcodes.txt#L228`](https://github.com/postgres/postgres/blob/724edf9bde9d356724ad384a2e196edc3c9f80f7/src/backend/utils/errcodes.txt#L228). The bounded source review did not resolve a native 2203D emitting path; the structured [evidence record](../data/evidence/2203d.json) keeps that unknown scope explicit, and no natural runtime was run.
