Appearance
story-context.minLength
Refused 400 schemaA string shorter 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 shorter than allowed. Typical cause: An empty string where text is required.
How to fix it
Send a non-empty value, or leave an optional field out. path in the violation points at the field.
Branch on the rule id, never on the violation's message text. All rules: rule catalogue.