Appearance
story-context.maxLength
Refused 400 schemaA string longer than allowed, 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. A string longer than allowed. Typical cause: A headline or label over its limit.
How to fix it
Shorten it. path in the violation points at the field.
Branch on the rule id, never on the violation's message text. All rules: rule catalogue.