Appearance
story-context.uniqueItems
Refused 400 schemaAn array with repeated items, in the story-context payload schema.
| Outcome | Refused, 400 |
| Source | schema: The SOM 1.0 JSON Schema says no. The message is not valid SOM 1.0. |
| Checked at | SOM envelope, version and payload (see the order of checks) |
| Applies to | messages whose payload is checked against the story-context schema |
What it means
The message breaks the story-context payload schema. An array with repeated items. Typical cause: The same tag or id listed twice.
How to fix it
Remove the duplicates. path in the violation points at the field.
Branch on the rule id, never on the violation's message text. All rules: rule catalogue.